I bootstrapped with odcctools-20080820.
I finished bootstrapping with gcc-apple-4.0.1_p5484.

I just tried re-emerging gcc-apple-4.2.1_p5564 which also pulled in gmp and mpfr.

However it still failed.  This time with a slightly different error.

John

configure:4241: checking size of int
configure:4560: /Library/Gentoo/var/tmp/portage/sys-devel/gcc- apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/ tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build/./prev-gcc/ -B/ Library/Gentoo/usr/i686-apple-darwin8/bin/ -o conftest -g -O2 - mdynamic-no-pic conftest.c >&5 /SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp: 968: failed assertion `!"Unknown one-operand"'
xgcc: Internal error: Abort trap (program dsymutil)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
configure:4563: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| long longval () { return (long) (sizeof (int)); }
| unsigned long ulongval () { return (long) (sizeof (int)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (int))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (int))))
|       exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (int))))
|       exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
|
|   ;
|   return 0;
| }
configure:4578: error: cannot compute sizeof (int), 77
See `config.log' for more details.

On Oct 6, 2008, at 7:55 AM, Fabian Groffen wrote:

What odcctools do you have installed?


On 05-10-2008 16:45:20 -0400, John Gibson wrote:
I've been trying bootstrap on 10.4 and I've hit problems compiling
gcc-apple  (which defaults to 4.2.1_p5564).
It looks like the same problem that arose last fall: http://www.mail-
archive.com/gentoo-alt@lists.gentoo.org/msg03224.html
Was it ever resolved?
I'll try some of the 4.0.1 versions to see if they work properly.

Here's the info that I've been able to cull from the logs:
checking for ANSI C header files... rm: cannot remove `conftest.dSYM': Is
a directory
rm: cannot remove `conftest.dSYM': Is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... configure: error: cannot compute sizeof (void
*)
See `config.log' for more details.
make[2]: *** [configure-stage2-gcc] Error 77
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
 * ERROR: sys-devel/gcc-apple-4.2.1_p5564 failed:
 *   emake failed
 *
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:4918:     emake bootstrap || die "emake
failed";


The error from config.log:
configure:4278: result: yes
configure:4285: checking size of void *
configure:4587:  /Library/Gentoo/var/tmp/portage/sys-devel/gcc-
apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/
tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build
/./prev-gcc/ -B/Library/Gentoo/usr/i686-apple-darwin8/bin/ -o conftest -g
-O2 -mdynamic-no-pic -I/Library/Gentoo/usr/include  conftest.c  >&5
/SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp:
968: failed assertion `!"Unknown one-operand"'
xgcc: Internal error: Abort trap (program dsymutil)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
configure:4590: $? = 1

More detail from config.log:
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DEFAULT_LINKER "/Library/Gentoo/usr/bin/i686-apple- darwin8-ld"
| #define DEFAULT_ASSEMBLER "/Library/Gentoo/usr/bin/i686-apple-
darwin8-as"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|    typedef void * ac__type_sizeof_;
| static long int longval () { return (long int) (sizeof
(ac__type_sizeof_)); }
| static unsigned long int ulongval () { return (long int) (sizeof
(ac__type_sizeof_)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (ac__type_sizeof_))))
|       return 1;
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (ac__type_sizeof_))))
|       return 1;
|       fprintf (f, "%lu\n", i);
|     }
|   return ferror (f) || fclose (f) != 0;
|
|   ;
|   return 0;
| }
configure:4610: error: cannot compute sizeof (void *)
See `config.log' for more details.



John



--
Fabian Groffen
Gentoo on a different level



Reply via email to