Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-hardened@g.o
From: "Peter S. Mazinger" <ps.m@...>
Subject: hardened gcc-3.3.2 and uClibc
Date: Wed, 19 Nov 2003 00:57:11 +0100 (CET)

I have a clean uClibc environment (not gentoo based), and inspired by 
hardened-gcc-3.3.2 the gcc specs file was changed to support ET_DYN 
binaries, the only change I have done is replacing Scrt1.o with "crt1S.o 
interp.o" (crt1S.o not yet in the uClibc tree, but in portage), due to the 
fact that Scrt1.o does not exist in uClibc like in glibc-2.3.2. I do not 
know what the difference is between Scrt1.o from glibc and crt1S.o coming 
from the hardened-gcc-2.4.6 (the version for uClibc is PaX version, so 
similar to those in hardened-gcc-2.4.6).
Could someone comment on problems regarding this change?

I have seen a dependency on binutils-, but this one has some 
problems with uClibc (does not correctly support canadian cross-compiling, 
binutils- yes). Is it really needed, or is 
binutils- enough?

I have rebuilt about 50 packages (mainly development environment) with 
these changes, but there is some strange behaviour (it is not related 
to the fact that everything is -fPIC built, I had this already defined 
earlier in my CFLAGS for almost all packages)
I am also interested in an Scrt1.o version for uClibc, so a changes 
description between the PaX and the glibc-2.3.2 implementation would be 

Why was the default -fomit-frame-pointer option removed? From my 
experience there are only a few packages, that are incompatible with it 
(mainly libraries).

Thanks, Peter

Peter S. Mazinger <ps.m@...>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most!

gentoo-embedded@g.o mailing list

Re: hardened gcc-3.3.2 and uClibc
-- Ned Ludd
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
uclinux and 2.6
Next by thread:
Re: hardened gcc-3.3.2 and uClibc
Previous by date:
uclinux and 2.6
Next by date:
Re: hardened gcc-3.3.2 and uClibc

Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.