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

Javier Vasquez jevv.cr at gmail.com
Sun May 25 18:16:07 EDT 2008


On Sun, May 25, 2008 at 1:01 PM, Javier Vasquez <jevv.cr at gmail.com> wrote:
> 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, :)...

Actually I compared the one in the laptop failing against the one in
one box for which I have 4.3.0 already working, and a diff doesn't
show anything, so I doubt the file got corrupted.  I also copied the
g++ and gcj specs just in case, and that doesn't help either...

>> 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
>



-- 
Javier


More information about the SM-Discuss mailing list