Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Detection of GNU C++ compiler hangs when compiling gcc 4.3.0

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Javier Vasquez" <jevv.cr AT gmail.com>
  • To: "SM, Discuss" <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Detection of GNU C++ compiler hangs when compiling gcc 4.3.0
  • Date: Sun, 25 May 2008 13:01:07 -0600

On Sun, May 25, 2008 at 12:27 PM, <seth AT swoolley.homeip.net> wrote:
> I've seen that when the gcc-specs file was missing or corrupted.
> look in:
>
> /usr/lib/gcc/$PLATFORM/$VERSION/specs-local/specs-gcc
> /usr/lib/gcc/*/*/specs-local/specs-gcc
>
> and see what you find -- possibly compare with others on irc.

I don't understand that file well enough, so I'm attaching it, in case
some one else can find if there's something wrong with it... The only
thing apparently related with ARCHITECTURE is:

125 *cc1_cpu:
126 %{mcpu=*:-mtune=%* %n`-mcpu=' is deprecated. Use `-mtune=' or
'-march=' instead.
127 } %<mcpu=* %{mintel-syntax:-masm=intel %n`-mintel-syntax' is
deprecated. Use `-masm=intel' instead.
128 } %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is
deprecated. Use `-masm=att' instead.
129 }%{march=native:%<march=native %:local_cpu_detect(arch)
%{!mtune=*:%<mtune=native %:local_cpu_detect(tun 129 e)}}
%{mtune=native:%<mtune=native %:local_cpu_detect(tune)}

If there's something to tweak in this file, please let me know what, :)...

Thanks,

Javier.

> On Sun, May 25, 2008 at 11:47:08AM -0600, Javier Vasquez wrote:
>> On Sun, May 25, 2008 at 11:32 AM, Javier Vasquez <jevv.cr AT gmail.com> wrote:
>> > Hi,
>> >
>> > On a laptop under test grimoire, for which I haven't run "sorcery -s"
>> > even before the gcc 4.3.0 release on test, I decided to go ahead and
>> > perform "sorcery -s" as I did with another box some time back.
>> > However at some point while compiling one of the gcc/g++ components
>> > the process completely froze on one of the ./configure's:
>> >
>> > checking whether we are using the GNU C++ compiler...
>> >
>> > Well, then I tried re-casting gcc, and I always get immediately after
>> > trying casting the same error. So, after some debug, I know that
>> > what's trying to get executed is $ac_complie, which at the moment of
>> > running is:
>> >
>> > $CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5
>> >
>> > But that fails with :
>> >
>> > g++: unrecognized option '-mtune=generic'
>> >
>> > This comes from:
>> >
>> > (eval $ac_compile) 2>conftest.er1 ~ line 3904 of the ./configure file...
>> >
>> > Why is this? How can it be overcome? It looks like I'm stuck, :(.
>>
>> Bad additional thing is that for some reason I can't downgrade neither
>> gcc, nor g++, their cache's are not available, well, the gcc one is
>> available but for veersion 4.3.0, while the g++ one is gone, :(. I
>> supposed the 4.2.8 version ofboth spells were available, to resurrect
>> these 2 guys, but they're not...
>>
>>
>> --
>> Javier
>
> --
> Seth Alan Woolley Seeking PGP nomination for Secretary of State

Attachment: specs-gcc
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page