Gentoo Archives: gentoo-embedded

From: "Peter S. Mazinger" <ps.m@×××.net>
To: Ned Ludd <solar@g.o>
Cc: gentoo-embedded@g.o
Subject: Re: [gentoo-embedded] some uClibc experience
Date: Mon, 17 Nov 2003 22:35:26
Message-Id: Pine.LNX.4.44.0311171936080.29386-100000@lnx.bridge.net
In Reply to: Re: [gentoo-embedded] some uClibc experience by Ned Ludd
1 On 17 Nov 2003, Ned Ludd wrote:
2
3 > On Sun, 2003-11-16 at 19:46, Peter S. Mazinger wrote:
4 > > On 12 Nov 2003, Ned Ludd wrote:
5 > >
6 > > > On Wed, 2003-11-12 at 16:31, Peter S. Mazinger wrote:
7 > > > > There are problems building some of the binaries with propolice enabled
8 > > > > gcc, mainly the .hidden support in binutils has to be "hidden" from gcc,
9 > > > > but as I can see (read), the glibc version does not work flawlessly
10 > > > > either.
11 > > > >
12 > > > Have you successfully used ssp with uclibc?
13 > > It worked (somehow, not quite correct, and some packages where not
14 > > rebuildable) at the time where uClibc had support for LIBGCC_FUNCTIONS
15 > > (adding functions from libgcc to libc) This was the only way I got a
16 > > system running it (__guard and __smash... where added to libc). Since then
17 > > I cannot modify buildroot so that I get a system running, segfaults on all
18 > > the line (tested only with gcc-3.3.x and protector 3.3-5). I think the
19 > > solution would be to add the needed functions to uClibc (and remove them
20 > > from libgcc!!!).
21 >
22 > One of the hardened-gcc version introduced guard symbols to libgcc.a.
23 > I'm pretty sure this no longer should be the case if your running ~arch
24 > as they are in fact getting introduced into glibc.
25 > If you care to hack the functionaly into uClibc I'll point you at the
26 > glibc version from etoh http://dev.gentoo.org/~solar/ssp/guard.c
27 Where do I find the modified protector patch for gcc?
28
29 Peter
30
31 --
32 Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI
33 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
34
35
36 ____________________________________________________________________
37 Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
38 Probald ki most! http://www.freestart.hu
39
40 --
41 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] some uClibc experience Ned Ludd <solar@g.o>