config-patches
[Top][All Lists]
Advanced

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

Re: x86_64-solaris


From: Earnie
Subject: Re: x86_64-solaris
Date: Thu, 20 Dec 2018 15:13:29 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3



On 12/19/2018 5:33 AM, Rainer Orth wrote:
Hi Karl,

I've just investigated a GCC bug report about a comparison failure on
Solaris/SPARC:

        PR target/88535
         sparcv9 gcc 7 causes comparison failure in sparc gcc 8 dwarf2out.o
         https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535

where config.guess failed to notice that the build compiler was
64-bit-default, while the host/target was 32-bit-default.

This doesn't happen with the config.guess/config.sub currently bundled
with gcc mainline (2018-06-26 resp. 2018-07-03) where with a
64-bit-default gcc x86_64-pc-solaris2.11 is determined, while with
CC='gcc -m32' I get i386-pc-solaris2.11 just as expected.


The proper use of configure can help eliminate the need for config.guess and config.sub to interfere here. Use --build and --host as appropriate; and at times you'll need --target depending on what you're building.

--
Earnie



reply via email to

[Prev in Thread] Current Thread [Next in Thread]