fails to build with gcc-4.4 on amd64 in karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nspluginwrapper (Ubuntu) |
Fix Released
|
High
|
Alexander Sack |
Bug Description
Binary package hint: nspluginwrapper
Fails during build like this:
gcc -std=c99 -m32 -o npviewer.bin npviewer-
/usr/lib/
(.text.
/usr/lib/
(.text+0x3977): undefined reference to `__sprintf_chk'
/usr/lib/
(.text+0x46d7): undefined reference to `__stack_
/usr/lib/
(.text+0x4b14): undefined reference to `__stack_
/usr/bin/ld: npviewer.bin: hidden symbol `__stack_
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [npviewer.bin] Error 1
rm lsb-build-
make[1]: Leaving directory `/tmp/nspcd/
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Related branches
Changed in nspluginwrapper (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in nspluginwrapper (Ubuntu): | |
status: | Fix Committed → Fix Released |
nees that nspluginwrapper builds its own libgcc from lsb-build directory which then is incompatible with ours. Most likely they use different build flags (for stack protection).
Solution would be to build against system libs and don't build the lsb-build libs.