Gentoo Archives: gentoo-hardened

From: "Peter S. Mazinger" <ps.m@×××.net>
To: gentoo-hardened@g.o
Cc: gentoo-embedded@g.o
Subject: [gentoo-hardened] hardened gcc-3.3.2 and uClibc
Date: Tue, 18 Nov 2003 23:57:56
Message-Id: Pine.LNX.4.44.0311190037300.9359-100000@lnx.bridge.net
1 Hello!
2
3 I have a clean uClibc environment (not gentoo based), and inspired by
4 hardened-gcc-3.3.2 the gcc specs file was changed to support ET_DYN
5 binaries, the only change I have done is replacing Scrt1.o with "crt1S.o
6 interp.o" (crt1S.o not yet in the uClibc tree, but in portage), due to the
7 fact that Scrt1.o does not exist in uClibc like in glibc-2.3.2. I do not
8 know what the difference is between Scrt1.o from glibc and crt1S.o coming
9 from the hardened-gcc-2.4.6 (the version for uClibc is PaX version, so
10 similar to those in hardened-gcc-2.4.6).
11 Could someone comment on problems regarding this change?
12
13 I have seen a dependency on binutils-2.14.90.0.7, but this one has some
14 problems with uClibc (does not correctly support canadian cross-compiling,
15 binutils-2.14.90.0.6 yes). Is it really needed, or is
16 binutils-2.14.90.0.6-r7 enough?
17
18 I have rebuilt about 50 packages (mainly development environment) with
19 these changes, but there is some strange behaviour (it is not related
20 to the fact that everything is -fPIC built, I had this already defined
21 earlier in my CFLAGS for almost all packages)
22 I am also interested in an Scrt1.o version for uClibc, so a changes
23 description between the PaX and the glibc-2.3.2 implementation would be
24 helpful.
25
26 Why was the default -fomit-frame-pointer option removed? From my
27 experience there are only a few packages, that are incompatible with it
28 (mainly libraries).
29
30 Thanks, Peter
31
32 --
33 Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI
34 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
35
36
37 ____________________________________________________________________
38 Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
39 Probald ki most! http://www.freestart.hu
40
41 --
42 gentoo-hardened@g.o mailing list

Replies