Gentoo Archives: gentoo-hardened

From: Peter Simons <simons@××××.to>
To: gentoo-hardened@g.o
Subject: [gentoo-hardened] Problem with hardened-gcc and boost + monotone
Date: Wed, 26 Nov 2003 14:20:53
Message-Id: 87llq3fcaj.fsf@peti.cryp.to
1 Hi,
2
3 hopefully someone can help me with this. I'm compiling the Monotone
4 software (manually), which requires the boost libraries. These I
5 installed through Portage, all compiling with hardened-gcc. Now when I
6 compile Monotone, I get this error in the linking stage:
7
8 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libc.a(ssp.o)(.bss+0x0): multiple definition of `__guard'
9 /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
10 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libc.a(ssp.o)(.text+0x80): In function `__stack_smash_handler':
11 : multiple definition of `__stack_smash_handler'
12 /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
13 /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)
14
15 Does anyone know what this means? Any idea how I can fix this?
16
17 Peter
18
19
20 --
21 gentoo-hardened@g.o mailing list

Replies