[Bug 588519] Re: [FTBFS] on i368 with "xslt.c:(.text+0x1bb4): undefined reference to `__stack_chk_fail_local'"
Kees Cook
kees at ubuntu.com
Mon Jun 14 22:07:52 BST 2010
This appears to be the correct fix to me (swapping ld with gcc and
losing -E). The resulting .so file doesn't lose any symbols due to the
lack of -E. (I checked with both builds, and with add -Wl,-E to the gcc
invocation.) So, this appears to be safe.
--
[FTBFS] on i368 with "xslt.c:(.text+0x1bb4): undefined reference to `__stack_chk_fail_local'"
https://bugs.launchpad.net/bugs/588519
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “steam” package in Ubuntu: Confirmed
Bug description:
Binary package hint: steam
steam fails to build on i386 (and powerpc) with this ending:
In file included from xml_dom.c:7:
/usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
ld -E -shared -Bsymbolic-functions -lxml2 -lxslt -lc -o libxslt.so xslt.o xml_dom.o
xslt.o: In function `xsl_error':
xslt.c:(.text+0x1bb4): undefined reference to `__stack_chk_fail_local'
xslt.o: In function `xml_error':
xslt.c:(.text+0x2ebc): undefined reference to `__stack_chk_fail_local'
ld: libxslt.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Nonrepresentable section on output
make[3]: *** [libxslt.so] Error 1
Full log: http://launchpadlibrarian.net/49499611/buildlog_ubuntu-maverick-i386.steam_2.2.31-6ubuntu1_FAILEDTOBUILD.txt.gz
Changing "ld -E -shared" to "gcc -shared" in configure (as hinted by http://erl1.wordpress.com/2009/11/16/reinstallingmaking-ns-2-on-ubuntu-9-10/ ) makes the build succeed and the package seems to install fine.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: steam 2.2.31-4.3ubuntu1
ProcVersionSignature: Ubuntu 2.6.34-5.12-generic 2.6.34
Uname: Linux 2.6.34-5-generic i686
Architecture: i386
Date: Tue Jun 1 23:25:21 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: steam
More information about the Ubuntu-sponsors
mailing list