Oz and Mozart Hackers Mailing List

Re: good news from the inline-opcode-map branch


From: Kevin Glynn (glynn@info.ucl.ac.be)
Date: Fri Dec 05 2003 - 11:04:20 CET


It seems to be caused by the version of gcc, both systems are solaris:

gcc 3.3:
    aldebaran!glynn [6] c++ -o conftest -fno-exceptions -fno-implicit-templates -DARCH_SPARC conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl -save-temps -fverbose-asm
    aldebaran!glynn [7] ./conftest
    aldebaran!glynn [8] c++ -o conftest -O3 -fno-exceptions -fno-implicit-templates -DARCH_SPARC conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl -save-temps -fverbose-asm
    aldebaran!glynn [9] c++ -v
    Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3/specs
    Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
    Thread model: posix
    gcc version 3.3

gcc 2.95.3:
    @savannah:tmp 4Q> c++ -o conftest -fno-exceptions -fno-implicit-templates -DARCH_SPARC conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl -save-temps -fverbose-asm
    @savannah:tmp 4Q> ./conftest
    @savannah:tmp 4Q> c++ -o conftest -O3 -fno-exceptions -fno-implicit-templates -DARCH_SPARC conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl -save-temps -fverbose-asm
    Undefined first referenced
     symbol in file
    LABEL0 conftest.o
    LABEL1 conftest.o
    LABEL2 conftest.o
    LABEL3 conftest.o
    LABEL4 conftest.o
    LABEL5 conftest.o
    ld: fatal: Symbol referencing errors. No output written to conftest
    collect2: ld returned 1 exit status
    (1)@savannah:tmp 4Q> c++ -v
    Reading specs from /usr/local/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
    gcc version 2.95.3 20010315 (release)
        
k

duchier@ps.uni-sb.de writes:
> Hi Kevin,
>
> I thought of something else: could you try to compile the test program
> with additionally -O3 as an option to the compiler. Let's see if it
> also optimizes everything away in that case.
>
> Cheers,
>
> --
> Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
> -
> Please send submissions to hackers@mozart-oz.org
> and administriva mail to hackers-request@mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.
>
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.