gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] latest changes


From: Gaius Mulley
Subject: Re: [Gm2] latest changes
Date: Wed, 25 Feb 2009 06:58:29 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Michael Lambert <address@hidden> writes:

> Hi Gaius,
>
> On 24 Feb 2009, at 05:12, Gaius Mulley wrote:
>
>> very interesting - thanks.  Out of interest did you build gm2 on the
>> Mac with the out of the box apple gcc?
>
> Yes, I did--on both platforms.  I just noticed in the logs on the ppc
> box that I'm seeing undefined symbols for exp10/exp10f/exp10l.
>
> Michael

Hi Michael,

ok yesterday I built gm2 on a:

Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; 
root:xnu-1228.9.59~1/RELEASE_I386 i386

and then attempted to build gm2.paranoid (dejagnu wasn't installed -
so I couldn't easily run the regression tests).  I opted for
attempting to 'make gm2.paranoid' and it failed during the link of
stage2/gm2/cc1gm2.

gcc   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes     -DHAVE_CONFIG_H  -o stage2/gm2/cc1gm2 gm2/gccgm2.o 
gm2/gm2builtins.o gm2/gm2-lang.o gm2/gm2except.o gm2/stor-layout.o gm2/m2pp.o 
gm2/gm2-compiler/gm2.a gm2/gm2-libs/libgm2.a          \
                              gm2/gm2-compiler/m2flex.o main.o  libbackend.a 
../libcpp/libcpp.a ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a \
                              
../i386-apple-darwin9.6.0/libstdc++-v3/src/.libs/libstdc++.a -lm
ld: in gm2/gm2-compiler/gm2.a(M2LexBuf.o), object file contains old DWARF debug 
info - rebuild with newer compiler
collect2: ld returned 1 exit status
make: *** [stage2/gm2/cc1gm2] Error 1

I had to alter:
    ./libstdc++-v3/scripts/make_exports.pl

to use 'c++filt --strip-underscore' rather than 'c++filt
--strip-underscores'.  So I'm now considering rebuilding vanilla
gcc-4.1.2, installing it locally and then building gm2..

regards,
Gaius




reply via email to

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