From: Anant Athavale <asa@isac.gov.in>
To: Kai Ruottu <karuottu@mbnet.fi>, gcc-help@gcc.gnu.org
Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3
Date: Fri, 18 Jan 2008 16:52:00 -0000 [thread overview]
Message-ID: <20080118045148.A15BB10C8@dnserns.isac.gov.in> (raw)
In-Reply-To: <20080117095125.C94BB10C3@dnserns.isac.gov.in>
I have resolved the problem of sed, now compilation fails at this stage:
/tmp/gcc-4.2.2/host-powerpc-ibm-aix5.3.0.0/prev-gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-ibm-aix5.3.0.0/prev-gcc/
-B/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H
-Wl,-bbigtoc -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o
c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o
c-parser.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o
c-omp.o dummy-checksum.o \
main.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -liconv
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
collect2: ld returned 12 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/tmp/gcc-4.2.2/host-powerpc-ibm-aix5.3.0.0/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/tmp/gcc-4.2.2'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/tmp/gcc-4.2.2'
make: *** [all] Error 2
Please guide how to proceed.
Regards,
ANANT.
----- Message from asa@isac.gov.in ---------
Date: Thu, 17 Jan 2008 15:20:55 +0530
From: Anant S Athavale <asa@isac.gov.in>
Reply-To: asa@isac.gov.in, anant_athavale@yahoo.com
Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3
To: Kai Ruottu <karuottu@mbnet.fi>
Cc: gcc-help@gcc.gnu.org
> ----- Message from karuottu@mbnet.fi ---------
> Date: Thu, 17 Jan 2008 11:20:04 +0200
> From: Kai Ruottu <karuottu@mbnet.fi>
> Reply-To: Kai Ruottu <karuottu@mbnet.fi>
> Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3
> To: Anant Athavale <asa@isac.gov.in>
> Cc: gcc-help@gcc.gnu.org
>
>
>> Anant Athavale wrote:
>>> gcc compilation fails with the following error AIX 5.3
>>>
>>> "prefix=/usr/local" "tooldir=/usr/local/powerpc-ibm-aix" "AR=ar"
>>> "AS=as" "CC=gcc" "CXX=c++" "LD=ld" make[3]: Entering directory
>>> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/gcc'
>>> make[3]: *** No rule to make target `all'. Stop.
>> The "tooldir" part tells the guessed, given or somehow else got $target
>> name being 'powerpc-ibm-aix'...
>> But the 'gcc/config.gcc' doesn't know this $target :( Possible ones
>> can be '*-*-aix4*' and '*-*-aix5*'
>> where the first star can be 'rs6000', 'powerpc' or 'ppc'. So that bare
>> 'aix' isn't understood....
>>
>> Please see what the command :
>> ./config.guess
>> gives in the main GCC source directory. There shouldn't be that bare
>> 'aix' in the answer to the guess!
>
> ./config.guess output is as below:
>
> /usr/bin/oslevel[845]: sed: not found
> /usr/bin/oslevel: Broken pipe
> powerpc-ibm-aix
>
> But when I execute which sed, the output is
>
> /opt/freeware/bin/sed
>
> and this is gnu sed.
>
> Now that I have some hint, I will check, what could be the reason and
> let you know again later.
>
> Thanks.
>
> Regards,
> ANANT.
>
>> If there is (The system is really stupid in its guesses...), then you
>> must be wiser and tell the right names,
>> for instance :
>> ..../configure --build=powerpc-ibm-aix5.3 --host=powerpc-ibm-aix5.3
>> --target=powerpc-ibm-aix5.3 ....
>
>
> ----- End message from karuottu@mbnet.fi -----
>
>
>
> Regards,
>
> Anant Athavale,
> Computer and Information Group,
> ISRO Satellite Centre,
> Airport Road,
> Bangalore - 560017
> INDIA.
>
> Landline: 080-25083512
> Cell: 99809 13616
>
> My Free/BusyURL:
> http://isacmail2.isac.dos.gov.in/kronolith/fb.php?u=asa%40isac.gov.in
----- End message from asa@isac.gov.in -----
Regards,
Anant Athavale.
next prev parent reply other threads:[~2008-01-18 4:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 19:27 Anant Athavale
2008-01-17 20:08 ` Thomas Mittelstaedt
2008-01-28 14:41 ` Anant S Athavale
2008-01-17 21:36 ` Kai Ruottu
2008-01-18 4:44 ` Anant S Athavale
2008-01-18 16:52 ` Anant Athavale [this message]
2008-01-18 18:32 ` Kai Ruottu
2008-01-18 19:07 ` Kai Ruottu
2008-01-19 12:30 ` Thomas Mittelstaedt
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=20080118045148.A15BB10C8@dnserns.isac.gov.in \
--to=asa@isac.gov.in \
--cc=gcc-help@gcc.gnu.org \
--cc=karuottu@mbnet.fi \
/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).