Gentoo Archives: gentoo-alt

From: Dirk Tilger <dirk@××××××.de>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [Darwin] Emerging =sys-devel/gcc-apple-4.2.1_p5531 fails on 10.4.10 (Intel)
Date: Tue, 06 Nov 2007 12:13:47
Message-Id: 20071106121307.GA18656@miriup.de
1 Emerging sys-devel/gcc-apple-4.2.1_p5531 fails on my 10.4 machine with:
2
3 | checking size of void *... configure: error: cannot compute sizeof (void *), 77
4 | See `config.log' for more details.
5 | make[2]: *** [configure-stage2-gcc] Error 1
6 | make[2]: Leaving directory
7 | `/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5531/work/build'
8 | make[1]: *** [stage2-bubble] Error 2
9 | make[1]: Leaving directory
10 | `/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5531/work/build'
11 | make: *** [bootstrap] Error 2
12
13 Relevant section in config.log:
14
15 | configure:3530: checking size of void *
16 | configure:3849:
17 | /Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5531/work/build/./prev-gcc/xgcc
18 | -B/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5531/work/build/./prev-gcc/
19 | -B/Gentoo/usr/i686-apple-darwin8/bin/ -o conftest -g -O2
20 | -mdynamic-no-pic conftest.c >&5
21 | /SourceCache/dwarf_utilities/dwarf_utilities-23/source/DWARFdSYM.cpp:968:
22 | failed assertion `!"Unknown one-operand"'
23 | xgcc: Internal error: Abort trap (program dsymutil)
24 | Please submit a full bug report.
25 | See <URL:http://developer.apple.com/bugreporter> for instructions.
26 | configure:3852: $? = 1
27 | configure: program exited with status 1
28 | configure: failed program was:
29 | | /* confdefs.h. */
30 | |
31 | | #define PACKAGE_NAME ""
32 | | #define PACKAGE_TARNAME ""
33 | | #define PACKAGE_VERSION ""
34 | | #define PACKAGE_STRING ""
35 | | #define PACKAGE_BUGREPORT ""
36 | | #define DEFAULT_LINKER "/Gentoo/usr/bin/i686-apple-darwin8-ld"
37 | | #define DEFAULT_ASSEMBLER "/Gentoo/usr/bin/i686-apple-darwin8-as"
38 | | #define STDC_HEADERS 1
39 | | #define HAVE_SYS_TYPES_H 1
40 | | #define HAVE_SYS_STAT_H 1
41 | | #define HAVE_STDLIB_H 1
42 | | #define HAVE_STRING_H 1
43 | | #define HAVE_MEMORY_H 1
44 | | #define HAVE_STRINGS_H 1
45 | | #define HAVE_INTTYPES_H 1
46 | | #define HAVE_STDINT_H 1
47 | | #define HAVE_UNISTD_H 1
48 | | /* end confdefs.h. */
49 | | #include <stdio.h>
50 | | #if HAVE_SYS_TYPES_H
51 | | # include <sys/types.h>
52 | | #endif
53 | | #if HAVE_SYS_STAT_H
54 | | # include <sys/stat.h>
55 | | #endif
56 | | #if STDC_HEADERS
57 | | # include <stdlib.h>
58 | | # include <stddef.h>
59 | | #else
60 | | # if HAVE_STDLIB_H
61 | | # include <stdlib.h>
62 | | # endif
63 | | #endif
64 | | #if HAVE_STRING_H
65 | | # if !STDC_HEADERS && HAVE_MEMORY_H
66 | | # include <memory.h>
67 | | # endif
68 | | # include <string.h>
69 | | #endif
70 | | #if HAVE_STRINGS_H
71 | | # include <strings.h>
72 | | #endif
73 | | #if HAVE_INTTYPES_H
74 | | # include <inttypes.h>
75 | | #else
76 | | # if HAVE_STDINT_H
77 | | # include <stdint.h>
78 | | # endif
79 | | #endif
80 | | #if HAVE_UNISTD_H
81 | | # include <unistd.h>
82 | | #endif
83 | | long longval () { return (long) (sizeof (void *)); }
84 | | unsigned long ulongval () { return (long) (sizeof (void *)); }
85 | | #include <stdio.h>
86 | | #include <stdlib.h>
87 | | int
88 | | main ()
89 | | {
90 | |
91 | | FILE *f = fopen ("conftest.val", "w");
92 | | if (! f)
93 | | exit (1);
94 | | if (((long) (sizeof (void *))) < 0)
95 | | {
96 | | long i = longval ();
97 | | if (i != ((long) (sizeof (void *))))
98 | | exit (1);
99 | | fprintf (f, "%ld\n", i);
100 | | }
101 | | else
102 | | {
103 | | unsigned long i = ulongval ();
104 | | if (i != ((long) (sizeof (void *))))
105 | | exit (1);
106 | | fprintf (f, "%lu\n", i);
107 | | }
108 | | exit (ferror (f) || fclose (f) != 0);
109 | |
110 | | ;
111 | | return 0;
112 | | }
113 | configure:3867: error: cannot compute sizeof (void *), 77
114
115 emerge --info attached.
116
117 Has anyone seen something like this before? According to the man page,
118 dsymutil is to "manipulate archived DWARF debug symbol files".
119
120 Dirk.

Attachments

File name MIME type
emerge-info.txt text/plain

Replies