SPECS: binutils.spec - cosmetics (by sebastian at oclab.ano.pl)

Paweł Sikora pluto w pld-linux.org
Nie, 20 Lut 2005, 12:19:39 CET


On Sunday 20 of February 2005 11:55, Jakub Bogusz wrote:
> On Sun, Feb 20, 2005 at 11:22:57AM +0100, Paweł Sikora wrote:
> > Poza tym ta wersja jest popsuta.
> >
> > # gcc -O tmp.c -g -o tmp
> > # strip tmp
> > BFD: tmp: warning: Empty loadable segment detected, is this intentional ?
> > BFD: tmp: warning: Empty loadable segment detected, is this intentional ?
> > strip: there are no sections to be copied!
> >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  to chyba jakis zart.
> >
> > # echo $?
> > 1
>
> Co w tmp.c?

pusty main.

> $ echo 'int main() { }' > tmp.c
> $ gcc -O tmp.c -g -o tmp
> $ strip tmp
> $ echo $?
> 0

j.w.

> gcc-3.3.5-1, binutils-2.15.94.0.2.2-1.

gcc-4.0.0-0.20050213.3, binutils-2.15.94.0.2.2-1
sprawdzilem tez poprzednia wersje binutilsow i ten sam blad.
moze gcc cos zle generuje, mozesz pokazac readelf z twojego `tmp` ?

-- 
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)




Więcej informacji o liście dyskusyjnej pld-devel-pl