[feisty, amd64] libsupc++.a does not define __stack_chk_fail_local

Bug #98882 reported by xtsbdu3reyrbrmroezob
6
Affects Status Importance Assigned to Milestone
gcc-4.1 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: libstdc++6-4.1-dev

I have seen reports from various google searches that this issue is more common to Ubuntu, probably since gcc 4.x is the default compiler. I am also not sure if this is a bug or a problem somewhere else. However, I figure that reporting it can't hurt. Even if I compile this with -fno-stack-protector, the problem does not go away. However, I was able to build the other nspluginwrapper objects by disabling stack protection. In this instance, it does not help since the library is outside of my control, and would require a recompile from source, but this came from package management, and I figure it should be fixed for everyone if it truly is a bug. I have no idea...

<snip>
khermans@khermans-laptop:/tmp/nspluginwrapper-0.9.91.3$ make
gcc -std=c99 -m32 -o npviewer.bin npviewer-npw-viewer.o npviewer-npw-rpc.o npviewer-rpc.o npviewer-debug.o npviewer-utils.o npviewer-npruntime.o npviewer-cxxabi-compat.o -m32 -Llsb-build-i386 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt -ldl -lpthread -Wl,--export-dynamic -Wl,--version-script,/tmp/nspluginwrapper-0.9.91.3/src/npw-viewer.map -lsupc++
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/32/libsupc++.a(cp-demangle.o): In function `d_demangle':
(.text+0x4907): undefined reference to `__stack_chk_fail_local'
collect2: ld returned 1 exit status
make: *** [npviewer.bin] Error 1
khermans@khermans-laptop:/tmp/nspluginwrapper-0.9.91.3$ echo $?
2
</snip>

Any comments are welcomed...
--
Kristian Hermansen

Matthias Klose (doko)
Changed in gcc-4.1:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Jason Ribeiro (jrib) wrote :

Thanks for the bug report. bug #68641 looks related

Revision history for this message
Matthias Klose (doko) wrote :

won't fix in 4.1, gcc-4.4-multilib (karmic) now includes libssp_nonshared.a

Changed in gcc-4.1 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.