* 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
@ 2001-06-20 9:27 simon
2001-06-20 17:50 ` David Edelsohn
2001-06-20 18:58 ` Alexandre Oliva
0 siblings, 2 replies; 11+ messages in thread
From: simon @ 2001-06-20 9:27 UTC (permalink / raw)
To: gcc
building 3.0 on AIX fails for me:
running mknumeric_limits
/home/simon/src/gcc-3.0/objdir/gcc/xgcc -B/home/simon/src/gcc-3.0/objdir/gcc/ -B
/opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/bin/ -B/opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/l
ib/ -isystem /opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/include -maix64 -I. -I/home/s
imon/src/gcc-3.0/objdir/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/include -DHAVE
_CONFIG_H -fno-exceptions -o /home/simon/src/gcc-3.0/objdir/powerpc-ibm-aix4
.3.3.0/ppc64/libstdc++-v3/src/gen-num-limits ../../../../libstdc++-v3/src/gen-nu
m-limits.cc
Could not load program /home/simon/src/gcc-3.0/objdir/powerpc-ibm-aix4.3.3.0/ppc
64/libstdc++-v3/src/gen-num-limits:
Cannot run a 64-bit program on a 32-bit machine.
gen-num-limits failed to execute, exiting.
mknumeric_limits failed to execute properly: exiting
gmake[1]: *** [configure-target-libstdc++-v3] Error 1
gmake[1]: Leaving directory `/home/simon/src/gcc-3.0/objdir'
gmake: *** [bootstrap-lean] Error 2
I presume the problem is the -maix64, but I am not sure how to change that...
here is some relevant information about the build:
config:
#This directory was configured as follows:
../configure --with-gcc-version-trigger=/home/simon/src/gcc-3.0/gcc/version.c --
host=powerpc-ibm-aix4.3.3.0 --prefix=/opt/gcc-3.0 --norecursion
build command:
$ nohup gmake CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean > make_out 2>&1 &
Any ideas? I searched the archives and found a few messages about similar 32/64bit issues on AIX, but the fix
was not clear to me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-20 9:27 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits) simon
@ 2001-06-20 17:50 ` David Edelsohn
2001-06-21 0:46 ` Alex Buell
2001-06-20 18:58 ` Alexandre Oliva
1 sibling, 1 reply; 11+ messages in thread
From: David Edelsohn @ 2001-06-20 17:50 UTC (permalink / raw)
To: simon; +Cc: gcc
>>>>> simon writes:
Simon> building 3.0 on AIX fails for me:
Simon> running mknumeric_limits
Simon> Any ideas? I searched the archives and found a few messages about
Simon> similar 32/64bit issues on AIX, but the fix was not clear to me.
Yes, this is a known problem.
The workaround is to configure GCC with --disable-aix64. The
unfortunate byproduct is that disables 64-bit multilibs for all languages
when the real problem is that V3 unnecessarily queries with a program. V3
aix64 actually would build correctly if you manually create the 64-bit
limits files and create the stamp file.
Plesae go tell the libstdc++ developers that they should not
calculate limits by running a program during the build. I have proposed a
patch, but have not heard any feedback from the V3 developers.
David
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-20 9:27 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits) simon
2001-06-20 17:50 ` David Edelsohn
@ 2001-06-20 18:58 ` Alexandre Oliva
1 sibling, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-20 18:58 UTC (permalink / raw)
To: simon; +Cc: gcc
On Jun 20, 2001, simon <sk2alexa@math.uwaterloo.ca> wrote:
> I presume the problem is the -maix64, but I am not sure how to change that...
configure [...] --disable-aix64
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-20 17:50 ` David Edelsohn
@ 2001-06-21 0:46 ` Alex Buell
2001-06-21 13:14 ` Alexandre Oliva
0 siblings, 1 reply; 11+ messages in thread
From: Alex Buell @ 2001-06-21 0:46 UTC (permalink / raw)
To: David Edelsohn; +Cc: simon, gcc
On Wed, 20 Jun 2001, David Edelsohn wrote:
> Simon> building 3.0 on AIX fails for me:
> Simon> running mknumeric_limits
Why didn't anyone respond to my post about this failing on sparc32-linux a
while ago?
--
Alex.
http://www.tahallah.demon.co.uk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-21 0:46 ` Alex Buell
@ 2001-06-21 13:14 ` Alexandre Oliva
2001-06-21 13:27 ` Alex Buell
0 siblings, 1 reply; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-21 13:14 UTC (permalink / raw)
To: alex.buell; +Cc: David Edelsohn, simon, gcc
On Jun 21, 2001, Alex Buell <alex.buell@tahallah.demon.co.uk> wrote:
> Why didn't anyone respond to my post about this failing on sparc32-linux a
> while ago?
Because no one had anything to suggest? Note that David's suggestion
won't help on GNU/Linux/sparc, the switch is specific to AIX 4.3 and
above running on ppc.
Have I already asked you which version of binutils you were using for
the bootstrap?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-21 13:14 ` Alexandre Oliva
@ 2001-06-21 13:27 ` Alex Buell
2001-06-21 13:54 ` Alexandre Oliva
0 siblings, 1 reply; 11+ messages in thread
From: Alex Buell @ 2001-06-21 13:27 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: Mailing List - GCC
On 21 Jun 2001, Alexandre Oliva wrote:
> Because no one had anything to suggest? Note that David's suggestion
> won't help on GNU/Linux/sparc, the switch is specific to AIX 4.3 and
> above running on ppc.
OK, I do apologise; a bad case of impatience.
> Have I already asked you which version of binutils you were using for
> the bootstrap?
I'm currently using 2.10.1. I think there's a 2.11.1 out but it's been
withdrawn.
--
Alex.
http://www.tahallah.demon.co.uk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-21 13:27 ` Alex Buell
@ 2001-06-21 13:54 ` Alexandre Oliva
2001-06-24 10:17 ` Alex Buell
2001-06-24 10:28 ` 3.0 build failure on AIX (32 vs 64bit " Alex Buell
0 siblings, 2 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-21 13:54 UTC (permalink / raw)
To: alex.buell; +Cc: Mailing List - GCC
On Jun 21, 2001, Alex Buell <alex.buell@tahallah.demon.co.uk> wrote:
>> Have I already asked you which version of binutils you were using for
>> the bootstrap?
> I'm currently using 2.10.1. I think there's a 2.11.1 out but it's been
> withdrawn.
Ha! That must be it. 2.11.2 is out already.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-21 13:54 ` Alexandre Oliva
@ 2001-06-24 10:17 ` Alex Buell
2001-06-24 13:14 ` David Edelsohn
2001-06-24 10:28 ` 3.0 build failure on AIX (32 vs 64bit " Alex Buell
1 sibling, 1 reply; 11+ messages in thread
From: Alex Buell @ 2001-06-24 10:17 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: alex.buell, Mailing List - GCC
On 21 Jun 2001, Alexandre Oliva wrote:
> > I'm currently using 2.10.1. I think there's a 2.11.1 out but it's been
> > withdrawn.
>
> Ha! That must be it. 2.11.2 is out already.
Downloaded and installed 2.11.2, did the bootstrap. It still fails at the
same place as before (gen-num-limits). What else should I need to look at?
--
Alex.
http://www.tahallah.demon.co.uk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-21 13:54 ` Alexandre Oliva
2001-06-24 10:17 ` Alex Buell
@ 2001-06-24 10:28 ` Alex Buell
1 sibling, 0 replies; 11+ messages in thread
From: Alex Buell @ 2001-06-24 10:28 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: alex.buell, Mailing List - GCC
On 21 Jun 2001, Alexandre Oliva wrote:
> Ha! That must be it. 2.11.2 is out already.
Now that I have binutils 2.11.2 installed, I was able to run
gen-num-limits in gdb 4.18. Here's what I found:
static const bool is_iec559 = true;
static const bool is_bounded = true;
static const bool is_modulo = true;
Program received signal SIGILL, Illegal instruction.
0x500d6324 in .udiv () at soinit.c:59
59 soinit.c: No such file or directory.
(gdb)
--
Alex.
http://www.tahallah.demon.co.uk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)
2001-06-24 10:17 ` Alex Buell
@ 2001-06-24 13:14 ` David Edelsohn
2001-06-26 14:30 ` [misleading subject - sorry!] Re: 3.0 build failure on AIX (32 vs64bit " Alex Buell
0 siblings, 1 reply; 11+ messages in thread
From: David Edelsohn @ 2001-06-24 13:14 UTC (permalink / raw)
To: alex.buell; +Cc: Alexandre Oliva, Mailing List - GCC
>>>>> Alex Buell writes:
Alex> Downloaded and installed 2.11.2, did the bootstrap. It still fails at the
Alex> same place as before (gen-num-limits). What else should I need to look at?
gen-num-limits is run for ech multilib, so I assume that it is
failing in the "ppc64" directory, which is a known problem. libstdc++-v3
configure is trying to run a 64-bit application on a 32-bit system.
The workarounds are either: 1) configure gcc-3.0 with
--disable-aix64, or 2) manually create the 64-bit limits and stamp files
then restart the libstdc++-v3 build.
The binutils-2.11.2 configuration for AIX 4.3.3 unfortunately
still contains a number of bugs -- not show-stopper bugs.
David
^ permalink raw reply [flat|nested] 11+ messages in thread
* [misleading subject - sorry!] Re: 3.0 build failure on AIX (32 vs64bit issue in mknumeric_limits)
2001-06-24 13:14 ` David Edelsohn
@ 2001-06-26 14:30 ` Alex Buell
0 siblings, 0 replies; 11+ messages in thread
From: Alex Buell @ 2001-06-26 14:30 UTC (permalink / raw)
To: David Edelsohn; +Cc: Alexandre Oliva, Mailing List - GCC
On Sun, 24 Jun 2001, David Edelsohn wrote:
> >>>>> Alex Buell writes:
> gen-num-limits is run for ech multilib, so I assume that it is
> failing in the "ppc64" directory, which is a known problem. libstdc++-v3
> configure is trying to run a 64-bit application on a 32-bit system.
I am a total cretin. I did not realise that the subject line was
misleading. The problems I am experiencing are happening on my Sparc
Station 4, running Linux 2.2.19. I think this changes things somewhat!
--
Hey, they *are* out to get you, but it's nothing personal.
http://www.tahallah.demon.co.uk
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2001-06-26 14:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 9:27 3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits) simon
2001-06-20 17:50 ` David Edelsohn
2001-06-21 0:46 ` Alex Buell
2001-06-21 13:14 ` Alexandre Oliva
2001-06-21 13:27 ` Alex Buell
2001-06-21 13:54 ` Alexandre Oliva
2001-06-24 10:17 ` Alex Buell
2001-06-24 13:14 ` David Edelsohn
2001-06-26 14:30 ` [misleading subject - sorry!] Re: 3.0 build failure on AIX (32 vs64bit " Alex Buell
2001-06-24 10:28 ` 3.0 build failure on AIX (32 vs 64bit " Alex Buell
2001-06-20 18:58 ` Alexandre Oliva
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).