| Summary: | net-im/centerim-4.22.1_p20070618 gets killed for stack smashing attack | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sven Nierlein <gentoo> |
| Component: | New packages | Assignee: | Sven Wegener <swegener> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | fauli, gentoo, wschlich |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Sven Nierlein
2007-09-01 21:10:33 UTC
This is not a Gentoo Bugzilla product bug; kindly read the descriptions. Does this still happen with the current version? Curret version of centerim doesn't even compile: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5/libicq2000/liblibicq2000.a(Client.o): re location R_X86_64_PC32 against `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[3]: *** [centerim] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5' make: *** [all] Error 2 * * ERROR: net-im/centerim-4.22.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2062: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed (In reply to comment #3) > Curret version of centerim doesn't even compile: > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > /var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5/libicq2000/liblibicq2000.a(Client.o): > re > location R_X86_64_PC32 against `std::basic_ostringstream<char, > std::char_traits<char>, std::allocator<char> > >::basic_ostringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used > when making a shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > final link failed: Bad value > collect2: ld returned 1 exit status Looks like some PIE breakage. I'm building centerim on this system Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.21-X-x86_64-U x86_64) and it just works. (In reply to comment #4) > (In reply to comment #3) > > Curret version of centerim doesn't even compile: > > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > > /var/tmp/portage/net-im/centerim-4.22.5/work/centerim-4.22.5/libicq2000/liblibicq2000.a(Client.o): > > re > > location R_X86_64_PC32 against `std::basic_ostringstream<char, > > std::char_traits<char>, std::allocator<char> > > >::basic_ostringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used > > when making a shared object; recompile with -fPIC > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > > final link failed: Bad value > > collect2: ld returned 1 exit status > > Looks like some PIE breakage. > > I'm building centerim on this system > > Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, > 2.6.21-X-x86_64-U x86_64) > > and it just works. Have you thought about reporting this to upstream, maybe they want to know about such failures, too. Is this still valid with 4.22.10? (In reply to comment #6) > Is this still valid with 4.22.10? |