[uClibc] Re: [grsec] crt1S.S file for uClibc

Peter S. Mazinger ps.m at gmx.net
Wed Oct 15 21:00:50 UTC 2003


On Wed, 15 Oct 2003 pageexec at freemail.hu wrote:

> > > my suggested fix is to use this instead the above line:
> > > 
> > > /_init_PROLOG_BEGINS/{omitcrti=0;print ".section .init" >> "crtn.S";getline}
> > > /_fini_PROLOG_BEGINS/{omitcrti=0;print ".section .fini" >> "crtn.S";getline}
> > 
> > With the suggested change I get on building in the directory libpthread
> > multiple definitions of _init and _fini.
> > Maybe the suggested change does not need defining usage of crti.o and 
> > crtn.o on building this library (START_FILES/END_FILES in Makefile)?
> 
> i tried it with pthread support as well, cannot reproduce the problem.
> i've attached my initfini.awk script just in case, please give it a try
> (i know i've just sent it in private, but maybe someone else is
> interested as well ;-).
Both lines have to be changed, then uClibc builds.

But, sorry to inform you, the et_dyn segfaults at the same position 
(according to strace). Probably I have to try it without CTOR_DTOR (this 
is what you used)

Peter

-- 
Peter S. Mazinger <ps.m at gmx.net>   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! http://www.freestart.hu



More information about the uClibc mailing list