🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42256

[Q] Cannot build gcc 2.7.x on Solaris 2.4 with SC3.0.1

#42256
From: Nathanael Makarevitch
Date: Fri, 05 Jan 1996 00:00
45 lines
1843 bytes
Hi,

I can not compile gcc 2.7.x under Solaris 2.4

May you please help me ?

Here is a session snopshot:

-=-=-=-=-=-=-
$ uname -a
SunOS irsun23 5.4 Generic_101945-32 sun4m sparc

 [ "./configure", "make LANGUAGES=c" and "make stage1" done w/o problems ]

$ make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2"
stage1/xgcc -Bstage1/  -DIN_GCC -DSVR4  -g -O2   -o genattr \
 genattr.o rtl.o  case "obstack.o" in ?*) echo obstack.o ;; esac   case
"stag
e1/xgcc -Bstage1/"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac   case "" in
?
*) echo  ;; esac `
./genattr ./config/sparc/sparc.md > tmp-attr.h
*** Error code 138
make: Fatal error: Command failed for target tamp-attr'
$ ./genattr
Bus error
$ find . -name genattr -print
./genattr
./stage1/genattr
$ stage1/genattr
genattr: No input file name.
-=-=-=-=-=-=-

I've tried with and without gas, with and whitout GNU ld, with and w/o
"--with-gas" and "--with-gnu-ld" args to "configure", with a cool CFLAGS,
with a PATH which favors either /usr/ccs/bin upon /usr/local/bin (where GNU
binutils, bison ... are installed) or not, with gcc 2.7.0 and 2.7.2, even
tried to copy each incorrect binary from stage1/* in order to compile
incrementaly ...

Thanks in advance
(email : nathanael.makarevitch@ifp.fr, I'll summarize here)

--
Nat
Technical Details
Message-ID: <4cj20v$b70@irgate.ifp.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4a0ac61db301b1c5,start
X-Google-Attributes: gid11318c,public
From: makarevi@news.ifp.fr (Nathanael Makarevitch)
Subject: [Q] Cannot build gcc 2.7.x on Solaris 2.4 with SC3.0.1
Date: 1996/01/05
Message-ID: <4cj20v$b70@irgate.ifp.fr>
X-Deja-AN: 134091040
followup-to: poster
summary: Build gcc 2.7 on Solaris 2.4 ?
organization: Institut Francais du Petrole
keywords: 2.7;Solaris
reply-to: nathanael.makarevitch@ifp.fr
newsgroups: gnu.gcc.help