[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Unexpected behaviour of gm2
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Unexpected behaviour of gm2 |
Date: |
Tue, 03 Jun 2014 09:56:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Christoph Schlegel <address@hidden> writes:
> Helle Gaius,
>
> I ran into this by accident but now reproduced the behaviour on my
> Debian testing system. As shown below this only happens when adding
> the -v (or --verbose) option:
Hi Christoph,
how odd - many thanks - a bug indeed. Will fix it!
regards,
Gaius
> address@hidden:~/m2src/hello$ gm2 -g --verbose hello.mod
> Es werden eingebaute Spezifikationen verwendet.
> COLLECT_GCC=gm2
> COLLECT_LTO_WRAPPER=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/lto-wrapper
> Ziel: x86_64-unknown-linux-gnu
> Konfiguriert mit: ../gcc-4.7.3/configure --prefix=/home/christoph/opt
> --libexecdir=/home/christoph/opt/lib --enable-shared --enable-threads=posix
> --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,gm2
> --disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
> Thread-Modell: posix
> gcc-Version 4.7.3 (GCC)
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/cc1gm2 -quiet
> -dumpbase hello.mod -mtune=generic -march=x86-64 -auxbase hello -g -version
> -ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib
> -fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim
> -ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib
> -fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim
> -I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim -o
> /tmp/ccStIK8Z.s hello.mod
> GNU Modula-2 1.0.5 (20140421)
> grafted onto GCC 4.7.3
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv2: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> as --64 /tmp/ccStIK8Z.s -o /tmp/ccnDPCkjprog.o
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2l
> -I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim -o
> /tmp/ccC827XC.l hello.mod
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2lorder
> /tmp/ccC827XC.l -o /tmp/ccBTjj2W.lst
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2lgen -cpp
> /tmp/ccBTjj2W.lst -o hello_m2.cpp
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2cc -v
> -B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3 -g -c -o
> /tmp/ccG4ofdhstart.o hello_m2.cpp
> Es werden eingebaute Spezifikationen verwendet.
> COLLECT_GCC=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2cc
> Ziel: x86_64-unknown-linux-gnu
> Konfiguriert mit: ../gcc-4.7.3/configure --prefix=/home/christoph/opt
> --libexecdir=/home/christoph/opt/lib --enable-shared --enable-threads=posix
> --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,gm2
> --disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
> Thread-Modell: posix
> gcc-Version 4.7.3 (GCC)
> COLLECT_GCC_OPTIONS='-v' '-B'
> '/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3' '-g' '-c' '-o'
> '/tmp/ccG4ofdhstart.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/cc1plus -quiet -v
> -imultilib . -imultiarch x86_64-linux-gnu -iprefix
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/
> -isystem /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include
> -isystem
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include-fixed
> -D_GNU_SOURCE hello_m2.cpp -quiet -dumpbase hello_m2.cpp -mtune=generic
> -march=x86-64 -auxbase-strip /tmp/ccG4ofdhstart.o -g -version -o
> /tmp/cc7U3eHL.s
> GNU C++ (GCC) Version 4.7.3 (x86_64-unknown-linux-gnu)
> kompiliert von GNU-C-Version 4.8.2, GMP-Version 6.0.0, MPFR-Version
> 3.1.2-p3, MPC-Version 1.0.1.
> GGC-Heuristik: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/x86_64-unknown-linux-gnu/.«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/backward«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include-fixed«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../x86_64-unknown-linux-gnu/include«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/x86_64-unknown-linux-gnu/.«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/backward«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include«
> wird ignoriert
> nicht vorhandenes Verzeichnis »/usr/local/include/x86_64-linux-gnu« wird
> ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../include«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include-fixed«
> wird ignoriert
> nicht vorhandenes Verzeichnis
> »/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../x86_64-unknown-linux-gnu/include«
> wird ignoriert
> #include "..." - Suche beginnt hier:
> #include <...> - Suche beginnt hier:
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/include-fixed
> /usr/local/include
> /usr/include/x86_64-linux-gnu
> /usr/include
> Ende der Suchliste.
> GNU C++ (GCC) Version 4.7.3 (x86_64-unknown-linux-gnu)
> kompiliert von GNU-C-Version 4.8.2, GMP-Version 6.0.0, MPFR-Version
> 3.1.2-p3, MPC-Version 1.0.1.
> GGC-Heuristik: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
> Compiler executable checksum: aa746e03057965b569b7140571ab18d1
> COLLECT_GCC_OPTIONS='-v' '-B'
> '/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3' '-g' '-c' '-o'
> '/tmp/ccG4ofdhstart.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
> as -v --64 -o /tmp/ccG4ofdhstart.o /tmp/cc7U3eHL.s
> GNU assembler version 2.24.51 (x86_64-linux-gnu) using BFD version (GNU
> Binutils for Debian) 2.24.51.20140425
> COMPILER_PATH=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/
> LIBRARY_PATH=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/lib/x86_64-linux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/lib/:/usr/lib/
> COLLECT_GCC_OPTIONS='-v' '-B'
> '/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3' '-g' '-c' '-o'
> '/tmp/ccG4ofdhstart.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> rm -f /tmp/ccZ7GODF.a
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2lcc
> -B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3
> -ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib
> -fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim
> -v -exec -startup /tmp/ccG4ofdhstart.o -ar -o /tmp/ccZ7GODF.a
> /tmp/ccnDPCkjprog.o /tmp/ccBTjj2W.lst
> /usr/bin/ar rc /tmp/ccZ7GODF.a /tmp/ccG4ofdhstart.o /tmp/ccnDPCkjprog.o
> /usr/bin/ranlib /tmp/ccZ7GODF.a
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> rm -f /tmp/ccG4ofdhstart /tmp/ccnDPCkjprog.o
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> COMPILER_PATH=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/
> LIBRARY_PATH=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../lib64/:/lib/x86_64-linux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../:/lib/:/usr/lib/
> COLLECT_GCC_OPTIONS='-I/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
> '-B/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3'
> '-fobject-path=/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-x' 'modula-2'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim'
> '-g' '-v' '-mtune=generic' '-march=x86-64'
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/collect2
> --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
> /usr/lib/x86_64-linux-gnu/crt1.o /usr/lib/x86_64-linux-gnu/crti.o
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/crtbegin.o
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3:/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/gm2/pim
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../lib64
> -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
> -L/home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../..
> /tmp/ccZ7GODF.a -lgm2 -lm -lstdc++ -lgcc --as-needed -lgcc_s --no-as-needed
> -lc -lgcc --as-needed -lgcc_s --no-as-needed
> /home/christoph/opt/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/crtend.o
> /usr/lib/x86_64-linux-gnu/crtn.o
> /tmp/ccZ7GODF.a(ccG4ofdhstart.o): In function `init':
> /home/christoph/m2src/hello/hello_m2.cpp:69: undefined reference to
> `_M2_hello_init'
> /tmp/ccZ7GODF.a(ccG4ofdhstart.o): In function `finish':
> /home/christoph/m2src/hello/hello_m2.cpp:80: undefined reference to
> `_M2_hello_finish'
> collect2: Fehler: ld gab 1 als Ende-Status zurück
> address@hidden:~/m2src/hello$ gm2 -g hello.mod
> address@hidden:~/m2src/hello$ ls -l
> insgesamt 148
> -rwxr-xr-x 1 christoph christoph 141354 Mai 27 21:25 a.out
> -rw-r--r-- 1 christoph christoph 3817 Mai 27 21:25 hello_m2.cpp
> -rwxr-xr-x 1 christoph christoph 976 Feb 11 2013 hello.mod
>
> Regards,
> Christoph
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gm2] Unexpected behaviour of gm2,
Gaius Mulley <=