public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
@ 1999-12-10  4:43 Ed Geraghty
  1999-12-10 10:19 ` Greg Wimpey
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ed Geraghty @ 1999-12-10  4:43 UTC (permalink / raw)
  To: help-gcc

Hello All,

    If this subject seems familar well it should... I had posted a
message just a few hours ago when I was trying to compile gcc-2.95.2
with the AIX v4.3.3 native compiler. Running out of time I tried using a
version of egcs I have allready compiled under AIX v4.3.2. Just
wondering does anybody have any suggestions how to fix this?

Target "all" is up to date.
Target "all" is up to date.
(cd intl && make all)
Target "all" is up to date.
        cd ch; make "AR_FLAGS_FOR_TARGET=rc"  "AR_FOR_TARGET=ar
-X32_64"  "BISON=bison"  "BISONFLAGS="  "CFLAGS=-g -O2"  "CLIB=-lld"
"GCC_FOR_TARGET=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/xgcc
-B/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/
-B/usr/local/powerpc-ibm-aix4.3.3.0/bin/
-I/usr/local/powerpc-ibm-aix4.3.3.0/include"  "LDFLAGS="  "LEX=flex"
"LEXFLAGS="  "LN=ln"  "LN_S=ln -s"
"MAKEINFO=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/texinfo/makeinfo/makeinfo
"  "MAKEINFOFLAGS="  "RANLIB_FOR_TARGET=ranlib"
"RANLIB_TEST_FOR_TARGET=[ -f ranlib ]  || ( [ "powerpc-ibm-aix4.3.3.0" =
"powerpc-ibm-aix4.3.3.0" ]  && [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
)"  "SHELL=/bin/sh"  "STAGE_PREFIX="  "exeext="  "build_exeext="
"objext=.o"  "exec_prefix=/usr/local"  "prefix=/usr/local"
"local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/powerpc-ibm-aix4.3.3.0"
"gcc_tooldir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../../powerpc-ibm-aix4.3.3.0"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2"
"datadir=/usr/local/share"  "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=gcc" "CHILLFLAGS=-g -O2"
"CHILL_FOR_TARGET=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/xgcc
-B/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/
-B/usr/local/powerpc-ibm-aix4.3.3.0/bin/
-L/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/ch/runtime/"
"CHILL_LIB=-lchill"  "GNUCHILL_VERSION=1.5.2" ../cc1chill
        gcc  -DIN_GCC   -g -O2   -o ../cc1chill parse.o actions.o
except.o grant.o lang.o  tree.o lex.o decl.o typeck.o convert.o expr.o
loop.o  tasking.o timing.o inout.o satisfy.o ch-version.o  `cat
../stamp-objlist`  `if [ xobstack.o != x ]; then echo ../obstack.o; else
true; fi` `if [ xalloca.o != x ]; then echo ../alloca.o; else true; fi`
`if [ x != x ]; then echo ../; else true; fi` -lld
ld: 0711-781 ERROR: TOC overflow. TOC size: 68040       Maximum size:
65536
collect2: ld returned 12 exit status

TIA,

EdGy

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

* Re: GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
  1999-12-10  4:43 GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66 Ed Geraghty
@ 1999-12-10 10:19 ` Greg Wimpey
  1999-12-31 22:24   ` Greg Wimpey
  1999-12-11 23:46 ` David Edelsohn
  1999-12-31 22:24 ` Ed Geraghty
  2 siblings, 1 reply; 6+ messages in thread
From: Greg Wimpey @ 1999-12-10 10:19 UTC (permalink / raw)
  To: help-gcc

Ed Geraghty <edgy@us.ibm.com> writes:

> Hello All,
> 

[snip]

> ld: 0711-781 ERROR: TOC overflow. TOC size: 68040       Maximum size:
> 65536
> collect2: ld returned 12 exit status

[snip]

make <blah blah> LDFLAGS="-Xlinker -bbigtoc"  works for me on AIX 4.2.

HTH.

-- 
Greg Wimpey
greg.wimpey@waii*removetomail*.com.invalid

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

* Re: GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
  1999-12-10  4:43 GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66 Ed Geraghty
  1999-12-10 10:19 ` Greg Wimpey
@ 1999-12-11 23:46 ` David Edelsohn
  1999-12-31 22:24   ` David Edelsohn
  1999-12-31 22:24 ` Ed Geraghty
  2 siblings, 1 reply; 6+ messages in thread
From: David Edelsohn @ 1999-12-11 23:46 UTC (permalink / raw)
  To: help-gcc

>>>>> Ed Geraghty writes:

Ed> If this subject seems familar well it should... I had posted a
Ed> message just a few hours ago when I was trying to compile gcc-2.95.2
Ed> with the AIX v4.3.3 native compiler. Running out of time I tried using a
Ed> version of egcs I have allready compiled under AIX v4.3.2. Just
Ed> wondering does anybody have any suggestions how to fix this?

	First, you cannot simply start from where you left off building
with AIX XLC and switching to GCC.  Second, you really need to read the
installation instructions despite your short amount of time.  If you had
read the installation instructions, you would have see that one should
build the compiler with "make bootstrap" which specifically invokes the
linker to solve the TOC overflow problem.

David
-- 
===============================================================================
David Edelsohn                                      T.J. Watson Research Center
dje@watson.ibm.com                                  P.O. Box 218
+1 914 945 4364 (TL 862)                            Yorktown Heights, NY 10598

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

* GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
  1999-12-10  4:43 GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66 Ed Geraghty
  1999-12-10 10:19 ` Greg Wimpey
  1999-12-11 23:46 ` David Edelsohn
@ 1999-12-31 22:24 ` Ed Geraghty
  2 siblings, 0 replies; 6+ messages in thread
From: Ed Geraghty @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

Hello All,

    If this subject seems familar well it should... I had posted a
message just a few hours ago when I was trying to compile gcc-2.95.2
with the AIX v4.3.3 native compiler. Running out of time I tried using a
version of egcs I have allready compiled under AIX v4.3.2. Just
wondering does anybody have any suggestions how to fix this?

Target "all" is up to date.
Target "all" is up to date.
(cd intl && make all)
Target "all" is up to date.
        cd ch; make "AR_FLAGS_FOR_TARGET=rc"  "AR_FOR_TARGET=ar
-X32_64"  "BISON=bison"  "BISONFLAGS="  "CFLAGS=-g -O2"  "CLIB=-lld"
"GCC_FOR_TARGET=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/xgcc
-B/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/
-B/usr/local/powerpc-ibm-aix4.3.3.0/bin/
-I/usr/local/powerpc-ibm-aix4.3.3.0/include"  "LDFLAGS="  "LEX=flex"
"LEXFLAGS="  "LN=ln"  "LN_S=ln -s"
"MAKEINFO=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/texinfo/makeinfo/makeinfo
"  "MAKEINFOFLAGS="  "RANLIB_FOR_TARGET=ranlib"
"RANLIB_TEST_FOR_TARGET=[ -f ranlib ]  || ( [ "powerpc-ibm-aix4.3.3.0" =
"powerpc-ibm-aix4.3.3.0" ]  && [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
)"  "SHELL=/bin/sh"  "STAGE_PREFIX="  "exeext="  "build_exeext="
"objext=.o"  "exec_prefix=/usr/local"  "prefix=/usr/local"
"local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/powerpc-ibm-aix4.3.3.0"
"gcc_tooldir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../../powerpc-ibm-aix4.3.3.0"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2"
"datadir=/usr/local/share"  "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=gcc" "CHILLFLAGS=-g -O2"
"CHILL_FOR_TARGET=/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/xgcc
-B/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/
-B/usr/local/powerpc-ibm-aix4.3.3.0/bin/
-L/dfs/users/ed/utils/gcc/gcc-2.95.2/obj/gcc/ch/runtime/"
"CHILL_LIB=-lchill"  "GNUCHILL_VERSION=1.5.2" ../cc1chill
        gcc  -DIN_GCC   -g -O2   -o ../cc1chill parse.o actions.o
except.o grant.o lang.o  tree.o lex.o decl.o typeck.o convert.o expr.o
loop.o  tasking.o timing.o inout.o satisfy.o ch-version.o  `cat
../stamp-objlist`  `if [ xobstack.o != x ]; then echo ../obstack.o; else
true; fi` `if [ xalloca.o != x ]; then echo ../alloca.o; else true; fi`
`if [ x != x ]; then echo ../; else true; fi` -lld
ld: 0711-781 ERROR: TOC overflow. TOC size: 68040       Maximum size:
65536
collect2: ld returned 12 exit status

TIA,

EdGy

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

* Re: GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
  1999-12-11 23:46 ` David Edelsohn
@ 1999-12-31 22:24   ` David Edelsohn
  0 siblings, 0 replies; 6+ messages in thread
From: David Edelsohn @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

>>>>> Ed Geraghty writes:

Ed> If this subject seems familar well it should... I had posted a
Ed> message just a few hours ago when I was trying to compile gcc-2.95.2
Ed> with the AIX v4.3.3 native compiler. Running out of time I tried using a
Ed> version of egcs I have allready compiled under AIX v4.3.2. Just
Ed> wondering does anybody have any suggestions how to fix this?

	First, you cannot simply start from where you left off building
with AIX XLC and switching to GCC.  Second, you really need to read the
installation instructions despite your short amount of time.  If you had
read the installation instructions, you would have see that one should
build the compiler with "make bootstrap" which specifically invokes the
linker to solve the TOC overflow problem.

David
-- 
===============================================================================
David Edelsohn                                      T.J. Watson Research Center
dje@watson.ibm.com                                  P.O. Box 218
+1 914 945 4364 (TL 862)                            Yorktown Heights, NY 10598

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

* Re: GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66
  1999-12-10 10:19 ` Greg Wimpey
@ 1999-12-31 22:24   ` Greg Wimpey
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Wimpey @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

Ed Geraghty <edgy@us.ibm.com> writes:

> Hello All,
> 

[snip]

> ld: 0711-781 ERROR: TOC overflow. TOC size: 68040       Maximum size:
> 65536
> collect2: ld returned 12 exit status

[snip]

make <blah blah> LDFLAGS="-Xlinker -bbigtoc"  works for me on AIX 4.2.

HTH.

-- 
Greg Wimpey
greg.wimpey@waii*removetomail*.com.invalid

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

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-10  4:43 GCC-2.95.2 and AIX v4.3.3 compile errors w/egcs-2.91.66 Ed Geraghty
1999-12-10 10:19 ` Greg Wimpey
1999-12-31 22:24   ` Greg Wimpey
1999-12-11 23:46 ` David Edelsohn
1999-12-31 22:24   ` David Edelsohn
1999-12-31 22:24 ` Ed Geraghty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).