public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 4.1 RC1
@ 2006-02-19 18:56 Mark Mitchell
  2006-02-24 22:20 ` Andreas Conz
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Mitchell @ 2006-02-19 18:56 UTC (permalink / raw)
  To: gcc

I will be spinning RC1 this morning, as previously announced.

I know that there are some outstanding patches in my email, which people
have requested for 4.1.  I'll review those before producing RC1, and
apply them to the 4.1 branch myself if appropriate; I'll still ask the
original submitters to apply to other branches.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713

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

* Re: GCC 4.1 RC1
  2006-02-19 18:56 GCC 4.1 RC1 Mark Mitchell
@ 2006-02-24 22:20 ` Andreas Conz
  2006-02-24 22:35   ` David Edelsohn
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Conz @ 2006-02-24 22:20 UTC (permalink / raw)
  To: Mark Mitchell; +Cc: gcc

Hello to all and thank you for the good work,

I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_.
The machine is not very fast and I made some mistakes in the beginning.

Now my build stops while configuring libstdc++-v3 :

------------------------------>8-----------------------------
checking for a BSD-compatible install...
/scratch/build/gcc-4.1.0-20060219/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking for powerpc-ibm-aix5.1.0.0-gcc...
/scratch/build/gcc-4.1.0-20060219/objdir/./gcc/xgcc
-B/scratch/build/gcc-4.1.0-20060219/objdir/./gcc/
-B/opt/oss/apps/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/bin/
-B/opt/oss/apps/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/lib/ -isystem
/opt/oss/apps/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/include -isystem
/opt/oss/apps/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/sys-include
-maix64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
gmake[2]: *** [configure-target-libstdc++-v3] Error 1
gmake[2]: Leaving directory `/scratch/build/gcc-4.1.0-20060219/objdir'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/scratch/build/gcc-4.1.0-20060219/objdir'
gmake: *** [bootstrap] Error 2
--------------------------------8<--------------------------

I configured with
../configure --enable-prefix=XXX --enable-threads

is the problem described at the end of the build log supposed to happen?

In earlier versions I was able to work around this build problem with
the help of the --disable-multilib configure switch.

Have I misread the target specific build instructions or is this a build
problem?


mit freundliche Gruessen / kind regards
Andreas Conz
--
WWW    http://www.neuro.informatik.uni-kassel.de/~andreasc
e-mail andreasc@neuro.informatik.uni-kassel.de

"Science is what we understand well enough to explain to a computer.
 Art is everything else we do." - Donald E. Knuth


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

* Re: GCC 4.1 RC1
  2006-02-24 22:20 ` Andreas Conz
@ 2006-02-24 22:35   ` David Edelsohn
  2006-02-24 23:55     ` Perry Smith
  2006-02-27 10:42     ` Andreas Conz
  0 siblings, 2 replies; 8+ messages in thread
From: David Edelsohn @ 2006-02-24 22:35 UTC (permalink / raw)
  To: Andreas Conz; +Cc: Mark Mitchell, gcc

>>>>> Andreas Conz writes:

Andreas> Hello to all and thank you for the good work,
Andreas> I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_.
Andreas> The machine is not very fast and I made some mistakes in the beginning.

Andreas> Now my build stops while configuring libstdc++-v3 :

Andreas> checking whether the C compiler works... configure: error: cannot run C
Andreas> compiled programs.

Andreas> In earlier versions I was able to work around this build problem with
Andreas> the help of the --disable-multilib configure switch.

	If you are building on a 32-bit only system, you need to configure
with --disable-aix64 so that it does not try to build 64-bit libraries.
GCC currently expects to be able to run executables in all multilib modes
when building natively.

David

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

* Re: GCC 4.1 RC1
  2006-02-24 22:35   ` David Edelsohn
@ 2006-02-24 23:55     ` Perry Smith
  2006-02-25  0:08       ` David Edelsohn
  2006-02-27 10:42     ` Andreas Conz
  1 sibling, 1 reply; 8+ messages in thread
From: Perry Smith @ 2006-02-24 23:55 UTC (permalink / raw)
  To: David Edelsohn; +Cc: Andreas Conz, Mark Mitchell, gcc


On Feb 24, 2006, at 4:34 PM, David Edelsohn wrote:

>>>>>> Andreas Conz writes:
>
> Andreas> Hello to all and thank you for the good work,
> Andreas> I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_.
> Andreas> The machine is not very fast and I made some mistakes in  
> the beginning.
>
> Andreas> Now my build stops while configuring libstdc++-v3 :
>
> Andreas> checking whether the C compiler works... configure: error:  
> cannot run C
> Andreas> compiled programs.
>
> Andreas> In earlier versions I was able to work around this build  
> problem with
> Andreas> the help of the --disable-multilib configure switch.
>
> 	If you are building on a 32-bit only system, you need to configure
> with --disable-aix64 so that it does not try to build 64-bit  
> libraries.
> GCC currently expects to be able to run executables in all multilib  
> modes
> when building natively.

(Someone please let me know if this is not correct)

I *think* you can go into kdb as root and type "stat" and the second  
line will tell you if you have a cpu capable of 64 bit operations.

You can build 64 bit libraries in 32 bit mode -- it depends upon your  
processor type.  kdb will tell you that.  Its probably somewhere in  
ODM as well.

HTH,
Perry

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

* Re: GCC 4.1 RC1
  2006-02-24 23:55     ` Perry Smith
@ 2006-02-25  0:08       ` David Edelsohn
  2006-02-25  0:26         ` Perry Smith
  0 siblings, 1 reply; 8+ messages in thread
From: David Edelsohn @ 2006-02-25  0:08 UTC (permalink / raw)
  To: Perry Smith; +Cc: Andreas Conz, Mark Mitchell, gcc

>>>>> Perry Smith writes:

Perry> You can build 64 bit libraries in 32 bit mode.

	You are answering a different question.  AIX supports building
64-bit executables on 32-bit systems.  It does not depend on the
processor. 

	The question is about bootstrapping GCC.  GCC bootstrap wants to
run 64-bit executables during its configuration process.  This is
orthogonal to whether GCC or AIX can compile 64-bit executables on a
32-bit system.

       The bootstrap wants to run executables corresponding to each
multilib, so one currently needs to perform the bootstrap on a system
capable of running in all modes or restrict some of the multilib modes.

David

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

* Re: GCC 4.1 RC1
  2006-02-25  0:08       ` David Edelsohn
@ 2006-02-25  0:26         ` Perry Smith
  0 siblings, 0 replies; 8+ messages in thread
From: Perry Smith @ 2006-02-25  0:26 UTC (permalink / raw)
  To: David Edelsohn; +Cc: Andreas Conz, Mark Mitchell, gcc

Thanks

I was mostly trying to give Andreas a way to determine what type of  
system he has (via kdb).


On Feb 24, 2006, at 6:07 PM, David Edelsohn wrote:

>>>>>> Perry Smith writes:
>
> Perry> You can build 64 bit libraries in 32 bit mode.
>
> 	You are answering a different question.  AIX supports building
> 64-bit executables on 32-bit systems.  It does not depend on the
> processor.
>
> 	The question is about bootstrapping GCC.  GCC bootstrap wants to
> run 64-bit executables during its configuration process.  This is
> orthogonal to whether GCC or AIX can compile 64-bit executables on a
> 32-bit system.
>
>        The bootstrap wants to run executables corresponding to each
> multilib, so one currently needs to perform the bootstrap on a system
> capable of running in all modes or restrict some of the multilib  
> modes.
>
> David
>
>

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

* Re: GCC 4.1 RC1
  2006-02-24 22:35   ` David Edelsohn
  2006-02-24 23:55     ` Perry Smith
@ 2006-02-27 10:42     ` Andreas Conz
  2006-02-27 11:27       ` Andreas Conz
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Conz @ 2006-02-27 10:42 UTC (permalink / raw)
  To: David Edelsohn; +Cc: gcc

Thanks for the help,

On Fri, 24 Feb 2006, David Edelsohn wrote:

> 	If you are building on a 32-bit only system, you need to configure
> with --disable-aix64 so that it does not try to build 64-bit libraries.
> GCC currently expects to be able to run executables in all multilib modes
> when building natively.

could somebody include this into the build documentation?

now there is a problem building the POWER part of libstdc++ :

-------------------------->8-----------------------------

../../../../../libstdc++-v3/src/stdexcept.cc:1: warning:
-ffunction-sections may affect debugging on some targets
/opt/oss/apps/bash-2.05b/bin/bash ../libtool --tag CXX --mode=compile
/scratch/build/gcc-4.1.0-20060219/objdir/./gcc/xgcc -shared-libgcc
-B/scratch/build/gcc-4.1.0-20060219/objdir/./gcc -nostdinc++
-L/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/src
-L/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/src/.libs
-B/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/bin/
-B/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/lib/ -isystem
/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/include -isystem
/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/sys-include
-mcpu=power
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/powerpc-ibm-aix5.1.0.0
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include
-I/scratch/build/gcc-4.1.0-20060219/libstdc++-v3/libsupc++  -g -O2
-mcpu=power -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual  -fdiagnostics-show-location=once  -ffunction-sections
-fdata-sections
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/backward
-Wno-deprecated -c ../../../../../libstdc++-v3/src/strstream.cc
/scratch/build/gcc-4.1.0-20060219/objdir/./gcc/xgcc -shared-libgcc
-B/scratch/build/gcc-4.1.0-20060219/objdir/./gcc -nostdinc++
-L/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/src
-L/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/src/.libs
-B/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/bin/
-B/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/lib/ -isystem
/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/include -isystem
/opt/oss/gcc-4.1.0-20060219/powerpc-ibm-aix5.1.0.0/sys-include -mcpu=power
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/powerpc-ibm-aix5.1.0.0
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include
-I/scratch/build/gcc-4.1.0-20060219/libstdc++-v3/libsupc++ -g -O2
-mcpu=power -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections
-I/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/backward
-Wno-deprecated -c ../../../../../libstdc++-v3/src/strstream.cc   -DPIC -o
.libs/strstream.o
../../../../../libstdc++-v3/src/strstream.cc:1: warning:
-ffunction-sections may affect debugging on some targets
../../../../../libstdc++-v3/src/strstream.cc: In member function 'virtual
std::streampos std::strstreambuf::seekpos(std::streampos,
std::_Ios_Openmode)':
../../../../../libstdc++-v3/src/strstream.cc:299: error: unrecognizable
insn:
(insn 5 4 6 0 ../../../../../libstdc++-v3/src/strstream.cc:298 (parallel [
            (set (reg:SI 126)
                (reg:SI 5 5))
            (clobber (scratch:SI))
            (set (mem/s/c:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
                        (const_int 4 [0x4])) [62 pos+4 S4 A32])
                (reg:SI 6 6))
            (set (mem/s/c:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
                        (const_int 8 [0x8])) [62 pos+8 S4 A64])
                (reg:SI 7 7))
            (set (mem/s/c:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
                        (const_int 12 [0xc])) [62 pos+12 S4 A32])
                (reg:SI 8 8))
        ]) -1 (nil)
    (nil))
../../../../../libstdc++-v3/src/strstream.cc:299: internal compiler error:
in instantiate_virtual_regs_in_insn, at function.c:1555
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[9]: *** [strstream.lo] Error 1
gmake[9]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/src'
gmake[8]: *** [all-recursive] Error 1
gmake[8]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3'
gmake[7]: *** [all] Error 2
gmake[7]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3'
gmake[6]: *** [multi-do] Error 1
gmake[6]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
gmake[5]: *** [all-multi] Error 2
gmake[5]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/scratch/build/gcc-4.1.0-20060219/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
gmake[2]: *** [all-target-libstdc++-v3] Error 2
gmake[2]: Leaving directory `/scratch/build/gcc-4.1.0-20060219/objdir'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/scratch/build/gcc-4.1.0-20060219/objdir'
gmake: *** [bootstrap] Error 2

-------------------------->8-----------------------------

I am building on an 32bit PowerPC (43P-150).
Should I file an bugreport?

mit freundliche Gruessen / kind regards
Andreas Conz
--
WWW    http://www.neuro.informatik.uni-kassel.de/~andreasc
e-mail andreasc@neuro.informatik.uni-kassel.de

"Science is what we understand well enough to explain to a computer.
 Art is everything else we do." - Donald E. Knuth


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

* Re: GCC 4.1 RC1
  2006-02-27 10:42     ` Andreas Conz
@ 2006-02-27 11:27       ` Andreas Conz
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Conz @ 2006-02-27 11:27 UTC (permalink / raw)
  To: gcc

Hallo,

this is now bug 26481

i have attached the build log

On Mon, 27 Feb 2006, Andreas Conz wrote:

>
> now there is a problem building the POWER part of libstdc++ :
>
> -------------------------->8-----------------------------
> -------------------------->8-----------------------------
>
> I am building on an 32bit PowerPC (43P-150).
> Should I file an bugreport?

mit freundliche Gruessen / kind regards
Andreas Conz
--
WWW    http://www.neuro.informatik.uni-kassel.de/~andreasc
e-mail andreasc@neuro.informatik.uni-kassel.de

"Science is what we understand well enough to explain to a computer.
 Art is everything else we do." - Donald E. Knuth


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

end of thread, other threads:[~2006-02-27 11:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-19 18:56 GCC 4.1 RC1 Mark Mitchell
2006-02-24 22:20 ` Andreas Conz
2006-02-24 22:35   ` David Edelsohn
2006-02-24 23:55     ` Perry Smith
2006-02-25  0:08       ` David Edelsohn
2006-02-25  0:26         ` Perry Smith
2006-02-27 10:42     ` Andreas Conz
2006-02-27 11:27       ` Andreas Conz

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).