Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Egcs 1.1b Compile fail on Redhat 5.0
@ 1998-09-10 12:45 Gavin
  1998-09-10 13:56 ` Stephane Casset
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gavin @ 1998-09-10 12:45 UTC (permalink / raw)
  To: egcs; +Cc: axp-list

Hello

Please Relpy to my email address as i am not member of the egcs mailing
list.

I have an DEC Alpha with Redhat 5.0 , quite a few errata patches , and
ecgs 1.0.3a installed
and running fine.

I downloaded egcs 1.1b , (11 MB) and i am wondering what i am doing
wrong
do i have to disable the new haifa scheduler ?

egcs 1.1b compile fails with the following error

<snip>
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config -c
insn-attrc
gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
./config/c
gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
getpwd.c
gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
convert.c
gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
dyn-strinc
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o cc1 c-parse.o c-lang.o
c-lex.o
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config  \
-DTARGET_MACHINE=\"alphaev5-unknown-linux-gnu\"  \
-c `echo ./collect2.c | sed 's,^\./,,'`
collect2.c:191: conflicting types for `sys_siglist'
/usr/include/signal.h:237: previous declaration of `sys_siglist'
make[2]: *** [collect2.o] Error 1
make[2]: Leaving directory `/home/usr/egcs-1.1b/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/usr/egcs-1.1b/gcc'
make: *** [bootstrap] Error 2
[root@sigi egcs-1.1b]#


Any help would be greatly appriciated ..

Regards

Gavin Woodhatch


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
  1998-09-10 12:45 Egcs 1.1b Compile fail on Redhat 5.0 Gavin
@ 1998-09-10 13:56 ` Stephane Casset
  1998-09-10 15:43 ` Robb
  1998-09-10 16:45 ` Bibek Sahu
  2 siblings, 0 replies; 7+ messages in thread
From: Stephane Casset @ 1998-09-10 13:56 UTC (permalink / raw)
  To: Gavin; +Cc: egcs, axp-list

On Thu, 10 Sep 1998, Gavin wrote:

> Hello
> 
> Please Relpy to my email address as i am not member of the egcs mailing
> list.
> 
> I have an DEC Alpha with Redhat 5.0 , quite a few errata patches , and
> ecgs 1.0.3a installed
> and running fine.

Well that's strange, I have just recompiled egcs1.1b on a RH5.0+updates
with binutils-2.9.0.7 and it works...
I did compile with the Haifa scheduler.

> I downloaded egcs 1.1b , (11 MB) and i am wondering what i am doing
> wrong
> do i have to disable the new haifa scheduler ?
> 
> egcs 1.1b compile fails with the following error
> 
> <snip>
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config -c
> insn-attrc
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> ./config/c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> getpwd.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> convert.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> dyn-strinc
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o cc1 c-parse.o c-lang.o
> c-lex.o
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config  \
> -DTARGET_MACHINE=\"alphaev5-unknown-linux-gnu\"  \
> -c `echo ./collect2.c | sed 's,^\./,,'`
> collect2.c:191: conflicting types for `sys_siglist'
> /usr/include/signal.h:237: previous declaration of `sys_siglist'
> make[2]: *** [collect2.o] Error 1
> make[2]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make: *** [bootstrap] Error 2
> [root@sigi egcs-1.1b]#
> 
> 
> Any help would be greatly appriciated ..
> 
> Regards
> 
> Gavin Woodhatch

Regards,
Stephane 
***************************************************************
 ----/ |  << On ne voit bien qu'avec le coeur, 
    /  |        l'essentiel est invisible pour les yeux. >>
   /   |               St. Exupery
  /    |     Stephane Casset : casset@inforezo.u-strasbg.fr 
 /     |         http://inforezo.u-strasbg.fr/~casset
***************************************************************


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
  1998-09-10 12:45 Egcs 1.1b Compile fail on Redhat 5.0 Gavin
  1998-09-10 13:56 ` Stephane Casset
@ 1998-09-10 15:43 ` Robb
  1998-09-10 16:45 ` Bibek Sahu
  2 siblings, 0 replies; 7+ messages in thread
From: Robb @ 1998-09-10 15:43 UTC (permalink / raw)
  To: gavin; +Cc: axp list

Hi.

I had this same problem, with RH5.1 and egcs 1.03a-1 from the rawhide
directory. I first tried a rpm --rebuild egcs 1.1b, which failed with
the same error as your post. Feeling creative, I tried a rpm -ba on the
spec file. It worked, for whatever reason I don't know. Two hours later,
I had an egcs rpm.

Good luck.
Robb


Gavin wrote:
> Hello
> 
> Please Relpy to my email address as i am not member of the egcs mailing
> list.
> 
> I have an DEC Alpha with Redhat 5.0 , quite a few errata patches , and
> ecgs 1.0.3a installed
> and running fine.
> 
> I downloaded egcs 1.1b , (11 MB) and i am wondering what i am doing
> wrong
> do i have to disable the new haifa scheduler ?
> 
> egcs 1.1b compile fails with the following error
> 
> <snip>
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config -c
> insn-attrc
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> ./config/c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> getpwd.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> convert.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> dyn-strinc
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o cc1 c-parse.o c-lang.o
> c-lex.o
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config  \
> -DTARGET_MACHINE=\"alphaev5-unknown-linux-gnu\"  \
> -c `echo ./collect2.c | sed 's,^\./,,'`
> collect2.c:191: conflicting types for `sys_siglist'
> /usr/include/signal.h:237: previous declaration of `sys_siglist'
> make[2]: *** [collect2.o] Error 1
> make[2]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make: *** [bootstrap] Error 2
> [root@sigi egcs-1.1b]#
> 
> Any help would be greatly appriciated ..
> 
> Regards
> 
> Gavin Woodhatch

-- 
- --
Robb Romans				|	Linux 2.1.121
Southwest Texas State University	|	on an Alpha 21164/300MHz
Ceci n'est pas une signature		|	RedHat RawHide 1.0.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
  1998-09-10 12:45 Egcs 1.1b Compile fail on Redhat 5.0 Gavin
  1998-09-10 13:56 ` Stephane Casset
  1998-09-10 15:43 ` Robb
@ 1998-09-10 16:45 ` Bibek Sahu
  2 siblings, 0 replies; 7+ messages in thread
From: Bibek Sahu @ 1998-09-10 16:45 UTC (permalink / raw)
  To: Gavin; +Cc: axp-list


	Well, I did a rebuild of the src.rpm using gcc, and everything
went fine.  Dunno.  If you want binary rpms, you can grab mine from
ftp://prophet.dodds.net/pub/

	Note that this is my personal machine, though it's almost always
up and on a fast connection.  But it is liable to be down for just about
anything (usually to install a new kernel).

	Incidentally, from the error, it appears to be conflicting with
your revision of glibc-devel. <shrug> Not sure, though.

- Bob

On Thu, 10 Sep 1998, Gavin wrote:

> Hello
> 
> Please Relpy to my email address as i am not member of the egcs mailing
> list.
> 
> I have an DEC Alpha with Redhat 5.0 , quite a few errata patches , and
> ecgs 1.0.3a installed
> and running fine.
> 
> I downloaded egcs 1.1b , (11 MB) and i am wondering what i am doing
> wrong
> do i have to disable the new haifa scheduler ?
> 
> egcs 1.1b compile fails with the following error
> 
> <snip>
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config -c
> insn-attrc
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> ./config/c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> getpwd.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> convert.c
> gcc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config
> dyn-strinc
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA  -o cc1 c-parse.o c-lang.o
> c-lex.o
> gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config  \
> -DTARGET_MACHINE=\"alphaev5-unknown-linux-gnu\"  \
> -c `echo ./collect2.c | sed 's,^\./,,'`
> collect2.c:191: conflicting types for `sys_siglist'
> /usr/include/signal.h:237: previous declaration of `sys_siglist'
> make[2]: *** [collect2.o] Error 1
> make[2]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory `/home/usr/egcs-1.1b/gcc'
> make: *** [bootstrap] Error 2
> [root@sigi egcs-1.1b]#
> 
> 
> Any help would be greatly appriciated ..
> 
> Regards
> 
> Gavin Woodhatch
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
       [not found] <199809101555.JAA27103@ellpspace.math.ualberta.ca>
@ 1998-09-10 22:53 ` Gavin
  1998-09-11 20:00   ` Christoph Zens
  0 siblings, 1 reply; 7+ messages in thread
From: Gavin @ 1998-09-10 22:53 UTC (permalink / raw)
  To: Michal Jaegermann; +Cc: saario, axp-list

Hi ,

egcs is compiling now ..

thanks to Shane Sturrock who pointed out that i need a new binutils ..
i got 2.9.1 from my nearest gnu mirror site. and that seems to fix the
problem.
before i had 2.8.x
2.9.1  compiled ok on the alpha.

Regards

Gavin Woodhatch

Michal Jaegermann wrote:

> > collect2.c:191: conflicting types for `sys_siglist'
> > /usr/include/signal.h:237: previous declaration of `sys_siglist'
>
> In a case of a conflict between system headers and "imports"
> system is ALWAYS right.  Comment out an extra declaration in collect2.c
>
> OTOH - I recompiled on Alpha many variants of egcs - including 1.1b
> and did not ever had this problem.  Strange.
>
>   Michal


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
  1998-09-10 22:53 ` Gavin
@ 1998-09-11 20:00   ` Christoph Zens
  1998-09-14 15:55     ` Adam C. Powell, IV
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Zens @ 1998-09-11 20:00 UTC (permalink / raw)
  To: Gavin; +Cc: Michal Jaegermann, saario, axp-list

On Fri, 11 Sep 1998, Gavin wrote:

> egcs is compiling now ..
> 
> i got 2.9.1 from my nearest gnu mirror site. and that seems to fix the
> problem.
> before i had 2.8.x
> 2.9.1  compiled ok on the alpha.

I´m stuck with this too. Unfortunately, the "ld" from the new binutils
fails to produce dynamically linked executables. They just dump core.
(This is on a libc5 system)

From what I understand, /lib/ld.so.1 is broken but every recent ld.so
comes without alpha support:

gcc    -c -o lddstub.o lddstub.S
lddstub.S:19: #error Only know how to support i386, m68k and sparc
architectures

So what? This can´t be true. A shared object loader just for three CPUs?

I´m sure not interested in switching to RedHat-5.x as my system has
changed a lot from an original RedHat, and I don´t want RedHat back.

--
    _
 _ //
 \X/  Christoph Zens <e9126506@student.tuwien.ac.at>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Egcs 1.1b Compile fail on Redhat 5.0
  1998-09-11 20:00   ` Christoph Zens
@ 1998-09-14 15:55     ` Adam C. Powell, IV
  0 siblings, 0 replies; 7+ messages in thread
From: Adam C. Powell, IV @ 1998-09-14 15:55 UTC (permalink / raw)
  To: Christoph Zens, axp-list

Christoph Zens wrote:

> On Fri, 11 Sep 1998, Gavin wrote:
>
> > egcs is compiling now ..
> >
> > i got 2.9.1 from my nearest gnu mirror site. and that seems to fix the
> > problem.
> > before i had 2.8.x
> > 2.9.1  compiled ok on the alpha.
>
> I´m stuck with this too. Unfortunately, the "ld" from the new binutils
> fails to produce dynamically linked executables. They just dump core.
> (This is on a libc5 system)

This is probably because of ld.so problems.  See below.

> >From what I understand, /lib/ld.so.1 is broken but every recent ld.so
> comes without alpha support:
>
> gcc    -c -o lddstub.o lddstub.S
> lddstub.S:19: #error Only know how to support i386, m68k and sparc
> architectures
>
> So what? This can´t be true. A shared object loader just for three CPUs?

ld.so only functions on those three architectures.  Get rid of it.  Alpha
uses glibc, which comes with ld.so, ldd, etc.  (I made this mistake too.
:-)

Zeen,

-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference!  \/  http://dls.netscape.com/      ____
USDoC, National Institute of Standards & Technology (NIST)  |\ ||<  |
Center for Theoretical and Computational Materials Science  | \||_> |




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-09-14 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-10 12:45 Egcs 1.1b Compile fail on Redhat 5.0 Gavin
1998-09-10 13:56 ` Stephane Casset
1998-09-10 15:43 ` Robb
1998-09-10 16:45 ` Bibek Sahu
     [not found] <199809101555.JAA27103@ellpspace.math.ualberta.ca>
1998-09-10 22:53 ` Gavin
1998-09-11 20:00   ` Christoph Zens
1998-09-14 15:55     ` Adam C. Powell, IV

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox