[parisc-linux] glibc problem

Kailashnath V Rampure kailasr@webcash.com
Thu, 26 Oct 2000 12:56:47 -0700


--=====================_5144707==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

HI alan,

I did upgrade to latest glibc from the cvs and tried I still get the same 
error. Actually I restarted from scratch starting from binutils. I have 
seen some warning while I built gcc. The smallpart of gcc warnings are as 
follows:

Gcc warnings:

prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. 
-I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include 
/opt/hp/gcc/gcc/explow.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/explow.c:24:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ 
in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc 
-I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/optabs.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/optabs.c:24:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ 
in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc 
-I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/real.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/real.c:25:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ 
in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc 
-I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include 
/opt/hp/gcc/gcc/builtins.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/builtins.c:23:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ 
in signedness
gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc 
-I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include \
   -DLOCALEDIR=\"/opt/hpboot/share/locale\" \
   -c `echo /opt/hp/gcc/gcc/intl.c | sed 's,^\./,,'`
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc 
-I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/varasm.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/varasm.c:31:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ 
in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/c


At 02:27 PM 10/26/00 +1100, Alan Modra wrote:
>On Wed, 25 Oct 2000, Kailashnath V Rampure wrote:
>
> > Hi
> >
> > I have upgraded to GNU Make version 3.79.1 but when i run make its is
> > giving following error:
> >
> > Regards
> > Kailas
> >
> > hppa-linux-gcc -nostdlib -nostartfiles -r -o 
> /opt/hp/build/glibc/csu/crt1.o
> > /opt/hp/build/glibc/csu/start.o /opt/hp/build/glibc/csu/abi-note.o
> > /opt/hp/build/glibc/csu/init.o
> > hppa-linux-gcc -nostdlib -nostartfiles -r -o
> > /opt/hp/build/glibc/csu/gcrt1.o /opt/hp/build/glibc/csu/crt1.o
> > /opt/hp/build/glibc/csu/gmon-start.o
> > cp /dev/null /opt/hp/build/glibc/csu/Mcrt1.c
>
>Hmm, my make.log shows a difference here.  I have echo > ...Mcrt1.c, which
>creates a 1 byte dummy file rather than the zero byte file you get from cp
>/dev/null.  Bombing on an empty input file is a known gcc bug for the
>snapshot we took of the Cygnus development gcc sources.
>
>I suggest you update your glibc sources.
>
>--
>Linuxcare.  Support for the Revolution.
>
>---------------------------------------------------------------------------
>To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
>`unsubscribe' as the subject.

--=====================_5144707==_.ALT
Content-Type: text/html; charset="us-ascii"

HI alan,

I did upgrade to latest glibc from the cvs and tried I still get the same error. Actually I restarted from scratch starting from binutils. I have seen some warning while I built gcc. The smallpart of gcc warnings are as follows:

Gcc warnings:

prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/explow.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/explow.c:24:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/optabs.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/optabs.c:24:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/real.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/real.c:25:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/builtins.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/builtins.c:23:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include \
  -DLOCALEDIR=\"/opt/hpboot/share/locale\" \
  -c `echo /opt/hp/gcc/gcc/intl.c | sed 's,^\./,,'`
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/varasm.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/varasm.c:31:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/c


At 02:27 PM 10/26/00 +1100, Alan Modra wrote:
On Wed, 25 Oct 2000, Kailashnath V Rampure wrote:

> Hi
>
> I have upgraded to GNU Make version 3.79.1 but when i run make its is
> giving following error:
>
> Regards
> Kailas
>
> hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/crt1.o
> /opt/hp/build/glibc/csu/start.o /opt/hp/build/glibc/csu/abi-note.o
> /opt/hp/build/glibc/csu/init.o
> hppa-linux-gcc -nostdlib -nostartfiles -r -o
> /opt/hp/build/glibc/csu/gcrt1.o /opt/hp/build/glibc/csu/crt1.o
> /opt/hp/build/glibc/csu/gmon-start.o
> cp /dev/null /opt/hp/build/glibc/csu/Mcrt1.c

Hmm, my make.log shows a difference here.  I have echo > ...Mcrt1.c, which
creates a 1 byte dummy file rather than the zero byte file you get from cp
/dev/null.  Bombing on an empty input file is a known gcc bug for the
snapshot we took of the Cygnus development gcc sources.

I suggest you update your glibc sources.

--
Linuxcare.  Support for the Revolution.

---------------------------------------------------------------------------
To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
`unsubscribe' as the subject.
--=====================_5144707==_.ALT--