public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ben Scurr <bs@teamwpc.co.uk>
To: gcc-help@gcc.gnu.org
Subject: AIX 5.3 gcc 4.1.2 bootstrap error
Date: Thu, 14 Feb 2008 12:43:00 -0000	[thread overview]
Message-ID: <47B4375F.6010400@teamwpc.co.uk> (raw)

I was wondering if anyone could help me as I'm at my wits end regarding 
building gcc on AIX. I have the toolkit version of gcc 4.0.0 installed 
(and associated binutils) and I am trying to build version 4.1.2 
(preferable 4.2.x, but I have other build issues on that version). My 
configuration is as follows:

# oslevel -r
5300-04

# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as 
--with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ 
--prefix=/opt/freeware --enable-threa
ds --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0

# gmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

configuration of gcc:
../gcc-4.1.2/configure --prefix=/tools/gcc-4.1.2 
--enable-languages=c,c++ --disable-nls --disable-shared 
--with-as=/usr/bin/as --with-ld=/usr/bin/ld

during the bootstrap I get:

gmake[2]: Entering directory `/tmp/gcc-b/t/gcc'
gmake \
  CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros 
-Wold-style-definiti
on -Wmissing-format-attribute  " \
  CONFIG_H="config.h  auto-host.h 
../../gcc-4.1.2/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[3]: Entering directory `/tmp/gcc-b/t/gcc'
/tmp/gcc-b/t/./gcc/xgcc -B/tmp/gcc-b/t/./gcc/ 
-B/tools/gcc-4.1.2/powerpc-ibm-aix5.3.0.0/bin/ 
-B/tools/gcc-4.1.2/powerpc-ibm-aix5.3.0.0/lib/ -isystem /
tools/gcc-4.1.2/powerpc-ibm-aix5.3.0.0/include -isystem 
/tools/gcc-4.1.2/powerpc-ibm-aix5.3.0.0/sys-include -O2  -O2 -g -O2   
-DIN_GCC    -W -Wall -Ww
rite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -mlong-double-128 -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC
2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-4.1.2/gcc 
-I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include 
-I../../gcc-4.1.2/gcc/../libcpp/inc
lude  -DL_muldi3 -c ../../gcc-4.1.2/gcc/libgcc2.c -o libgcc/./_muldi3.o
cc1: error: unrecognized command line option "-quiet"
cc1: error: unrecognized command line option "-I."
cc1: error: unrecognized command line option "-I."
cc1: error: unrecognized command line option "-I../../gcc-4.1.2/gcc"
cc1: error: unrecognized command line option "-I../../gcc-4.1.2/gcc/."
cc1: error: unrecognized command line option 
"-I../../gcc-4.1.2/gcc/../include"
cc1: error: unrecognized command line option 
"-I../../gcc-4.1.2/gcc/../libcpp/include"
cc1: error: unrecognized command line option "-DIN_GCC"
cc1: error: unrecognized command line option "-DHAVE_GTHR_DEFAULT"
cc1: error: unrecognized command line option "-DIN_LIBGCC2"
cc1: error: unrecognized command line option "-D__GCC_FLOAT_NOT_NEEDED"
cc1: error: unrecognized command line option "-DL_muldi3"
cc1: error: unrecognized command line option "-quiet"
cc1: error: unrecognized command line option "-dumpbase"
cc1: error: unrecognized command line option "-mlong-double-128"
cc1: error: unrecognized command line option "-auxbase-strip"
cc1: error: unrecognized command line option "-g"
cc1: error: unrecognized command line option "-g"
cc1: error: unrecognized command line option "-O2"
cc1: error: unrecognized command line option "-O2"
cc1: error: unrecognized command line option "-O2"
cc1: error: unrecognized command line option "-W"
cc1: error: unrecognized command line option "-Wall"
cc1: error: unrecognized command line option "-Wwrite-strings"
cc1: error: unrecognized command line option "-Wstrict-prototypes"
cc1: error: unrecognized command line option "-Wmissing-prototypes"
cc1: error: unrecognized command line option "-Wold-style-definition"
cc1: error: unrecognized command line option "-o"
cc1: warning: -Wformat-nonliteral ignored without -Wformat
cc1: warning: -Wformat-security ignored without -Wformat

Execution times (seconds)
 TOTAL                 :   0.00             0.00             
0.00                  0 kB
gmake[3]: *** [libgcc/./_muldi3.o] Error 1
gmake[3]: Leaving directory `/tmp/gcc-b/t/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/tmp/gcc-b/t/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/tmp/gcc-b/t'
gmake: *** [all] Error 2
#

I have tried bootstrapping 4.1.2, 4.1.1 and even 4.0.1, all of which 
have recorded successful builds on the gcc website on AIX, yet all of 
them fail in the same way on my machine. Can anyone help please?

Regards

Ben

-- 
Ben Scurr
Development Engineer             
World Programming Ltd.     Web: www.teamwpc.co.uk
This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

             reply	other threads:[~2008-02-14 12:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 12:43 Ben Scurr [this message]
2008-02-14 13:44 ` Ralf Wildenhues
2008-02-19 17:03   ` Thomas Mittelstaedt
2008-03-18 14:15 ` Jonathan Saxton
2008-03-18 14:41   ` Brian Dessent
2008-03-18 16:44     ` Jonathan Saxton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B4375F.6010400@teamwpc.co.uk \
    --to=bs@teamwpc.co.uk \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).