Re: GCC multilib building failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I saw your post on the mailing list, and I have the same problem that I
cannot build gcc 4.2.1 on my machine. The error message is as follows:

In file included from /usr/include/sys/_types.h:26,
                 from /usr/include/_types.h:27,
                 from /usr/include/stdio.h:64,
                 from ../../src/gcc/tsystem.h:90,
                 from ../../src/gcc/config/darwin-crt3.c:38:
/usr/include/sys/cdefs.h:335:4: error: #error Unknown architecture
...
/usr/include/stdio.h:258: error: parameter name omitted
../../src/gcc/config/darwin-crt3.c:535: error: expected '{' at end of input
make[5]: *** [x86_64/crt3.o] Error 1
make[4]: *** [extrax86_64] Error 2
make[3]: *** [stmp-multilib] Error 2
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2

My configuration:
../src/configure --prefix=/Users/eric/gcc-4.2.1/local --enable-languages=c
Didn't change anything basically.

I found this in Makefile:
host=i386-apple-darwin8.10.1
So it should not be using X86-64, am I right?

You mentioned that you updated Xcode, and it worked. Did you update Xcode to
3.x?

Regards,

Ko-Chih Wu


Xiaolong Tang-2 wrote:
> 
> Hi, I got the problem fixed by upgrading the developing tool for  
> MAC.  (simply upgrading xcode...)
> Then the assembler for x86_64 becomes ready.
> 
> However,  I got new errors reported during building libstdc++v3.  
> (shown below)
> I am googling for its resolution.
> If anyone feeds me any advice, great appreciation!
> 
> -----------------------------------------------------------
> appending configuration tag "CXX" to libtool
> checking for exception model to use... configure: error: unable to  
> detect exception model
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2
> -------------------------------------
> 
> thanks
> -xlong
> 
> 
> On Jun 14, 2007, at 2:52 PM, Xiaolong Tang wrote:
> 
>> hello all,
>>
>> I recently built my conceptgcc but failed when my built gcc tried  
>> to build multilib.
>> I post it here because the problem seems to be more related with  
>> the general gcc.
>>
>>
>> The message is as below:
>> -----------------------------------
>>
>>
>> # If this is the top-level multilib, build all the other
>> # multilibs.
>> /usr/bin/as: assembler (/usr/libexec/gcc/darwin/x86_64/as or /usr/ 
>> local/libexec/gcc/darwin/x86_64/as) for architecture x86_64 not  
>> installed
>> Installed assemblers are:
>> /usr/libexec/gcc/darwin/ppc64/as for architecture ppc64
>> /usr/libexec/gcc/darwin/ppc/as for architecture ppc
>> /usr/libexec/gcc/darwin/i386/as for architecture i386
>> /usr/local/libexec/gcc/darwin/m68k/as for architecture m68k
>> /usr/local/libexec/gcc/darwin/hppa/as for architecture hppa
>> /usr/local/libexec/gcc/darwin/sparc/as for architecture sparc
>> /usr/local/libexec/gcc/darwin/m88k/as for architecture m88k
>> /usr/local/libexec/gcc/darwin/i860/as for architecture i860
>> In file included from /usr/include/sys/_types.h:26,
>>                  from /usr/include/_types.h:27,
>>                  from /usr/include/stdio.h:64,
>>                  from ../../../../xiaolong/gcc/libgcc/../gcc/ 
>> tsystem.h:90,
>>                  from ../../../../xiaolong/gcc/libgcc/../gcc/ 
>> libgcc2.c:33:
>> /usr/include/sys/cdefs.h:335:4: error: #error Unknown architecture
>> In file included from /usr/include/sys/_types.h:27,
>>                  from /usr/include/_types.h:27,
>>                  from /usr/include/stdio.h:64,
>>                  from ../../../../xiaolong/gcc/libgcc/../gcc/ 
>> tsystem.h:90,
>>                  from ../../../../xiaolong/gcc/libgcc/../gcc/ 
>> libgcc2.c:33:
>> /usr/include/machine/_types.h:30:2: error: #error architecture not  
>> supported
>> In file included from /usr/include/_types.h:27,
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/GCC-provided-runtime-libraries.-tf3922207.html#a13464586
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux