[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-21 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

Steven Bosscher steven at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID

--- Comment #6 from Steven Bosscher steven at gcc dot gnu.org 2011-02-21 
19:09:57 UTC ---
.


[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-19 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

--- Comment #5 from Steven Bosscher steven at gcc dot gnu.org 2011-02-19 
15:48:45 UTC ---
sysroot, right. obviously I don't have AIX so that basically means I can't
build a cross-compiler to it, IIUC. Close as IBTK (aka INVALID)?


[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2011-02-18 
23:21:59 UTC ---
Don't you need a sysroot to build a cross compiler in this case?  Try adding
--without-headers --with-newlib if you don't have a sysroot for AIX.  Note
there is nothing AIX specific in building a cross compiler here.


[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org 2011-02-18 
23:22:44 UTC ---
(In reply to comment #3)
 Don't you need a sysroot to build a cross compiler in this case?  Try adding
 --without-headers --with-newlib if you don't have a sysroot for AIX.  Note
 there is nothing AIX specific in building a cross compiler here.

Oh one more thing newlib has not been ported to AIX which is why libc is not
being found.


[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

Steven Bosscher steven at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||build
 CC||dje at gcc dot gnu.org

--- Comment #1 from Steven Bosscher steven at gcc dot gnu.org 2011-02-18 
17:11:07 UTC ---
I found this while trying to add xcoff64 support to libiberty for LTO support
on AIX.


[Bug bootstrap/47806] Failure to build cross-combiner to powerpc-ibm-aix6.0

2011-02-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806

--- Comment #2 from Steven Bosscher steven at gcc dot gnu.org 2011-02-18 
17:23:44 UTC ---
Also fails, but in a different way, if --disable-multilib is removed from the
configure options:

# If this is the top-level multilib, build all the other
# multilibs.
/home/stevenb/devel/cross-aix/build/./gcc/xgcc
-B/home/stevenb/devel/cross-aix/build/./gcc/
-B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/bin/
-B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/lib/ -isystem
/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/include -isystem
/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/sys-include
-L/home/stevenb/devel/cross-aix/build/./ld-g -O2 -pthread -O2  -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc  -I. -I.
-I../../.././gcc -I../../../../combined/libgcc -I../../../../combined/libgcc/.
-I../../../../combined/libgcc/../gcc -I../../../../combined/libgcc/../include  
 -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
../../../../combined/libgcc/../gcc/unwind-dw2.c 
In file included from ../../../../combined/libgcc/../gcc/gthr-aix.h:30:0,
 from ../../.././gcc/gthr-default.h:1,
 from ../../../../combined/libgcc/../gcc/gthr.h:162,
 from ../../../../combined/libgcc/../gcc/unwind-dw2.c:37:
../../../../combined/libgcc/../gcc/gthr-posix.h:41:21: fatal error: pthread.h:
No such file or directory
compilation terminated.
make[4]: *** [unwind-dw2.o] Error 1
make[4]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/pthread/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/stevenb/devel/cross-aix/build'
make: *** [all] Error 2
$ cat gcc/configargs.h 
/* Generated automatically. */
static const char configuration_arguments[] = ../combined/configure
--enable-languages=c --disable-checking --target=powerpc-ibm-aix6.0
--with-mpc=/opt/ --disable-nls
--prefix=/home/stevenb/devel/cross-aix/install/;
static const char thread_model[] = aix;

static const struct {
  const char *name, *value;
} configure_default_options[] = { { NULL, NULL} };
$