Gentoo Archives: gentoo-hardened

From: Ned Ludd <solar@g.o>
To: Peter Simons <simons@××××.to>
Cc: gentoo-hardened@g.o
Subject: Re: [gentoo-hardened] Problem with hardened-gcc and boost + monotone
Date: Wed, 26 Nov 2003 20:14:44
Message-Id: 1069877593.27904.0.camel@simple
In Reply to: [gentoo-hardened] Problem with hardened-gcc and boost + monotone by Peter Simons
1 See [Bug 25299] ProPolice glibc: breaks gcc -static
2
3 On Wed, 2003-11-26 at 09:13, Peter Simons wrote:
4 > Hi,
5 >
6 > hopefully someone can help me with this. I'm compiling the Monotone
7 > software (manually), which requires the boost libraries. These I
8 > installed through Portage, all compiling with hardened-gcc. Now when I
9 > compile Monotone, I get this error in the linking stage:
10 >
11 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libc.a(ssp.o)(.bss+0x0): multiple definition of `__guard'
12 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.bss+0x0):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2021: first defined here
13 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libc.a(ssp.o)(.text+0x80): In function `__stack_smash_handler':
14 > : multiple definition of `__stack_smash_handler'
15 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x90):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2036: first defined here
16 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `__stack_smash_handler' changed from 728 in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS) to 544 in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)
17 >
18 > Does anyone know what this means? Any idea how I can fix this?
19 >
20 > Peter
21 >
22 >
23 > --
24 > gentoo-hardened@g.o mailing list
25 --
26 Ned Ludd <solar@g.o>
27 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-hardened] Re: Problem with hardened-gcc and boost + monotone Peter Simons <simons@××××.to>