Menu

#122 configure.ac: put back --disable-protector

open
nobody
None
5
2024-11-28
2021-02-03
No

Put back --disable-protector which has been removed by commit
70c85915eace83142b84e4f65f5db421cf0c09e3. This will allow the user to
disable it or to let a higher buildsystem such as buildroot to finely
configure it.

Indeed, without this patch, build can fail as some compilers (such as
uclibc) could missed the needed library (-lssp or -lssp_nonshared) at
linking step:

CCLD libsox.la
/home/fabrice/br-test-pkg/br-arm-full/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/5.5.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lssp_nonshared
/home/fabrice/br-test-pkg/br-arm-full/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/5.5.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lssp

1 Attachments

Discussion

  • Fabrice Fontaine

    I made a typo in the commit title and log, it should be --disable-stack-protector, not --disable-protector

     
  • Martin Guy

    Martin Guy - 2024-11-28

    A better version of this has gone into sox_ng for 14.5.0-rc2
    https://codeberg.org/sox_ng/sox_ng/issues/254

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.