[OpenIndiana-discuss] gccgo issue

russell stream at willows7.myzen.co.uk
Sun Oct 22 09:50:06 UTC 2023


Hi,

Updated last night to illumos-9fbdb45a98 and repeated the same test

$ gccgo -v
Using built-in specs.
COLLECT_GCC=gccgo
COLLECT_LTO_WRAPPER=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/lto-wrapper
Target: x86_64-pc-solaris2.11
Configured with: 
/jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/gcc-releases-gcc-10.5.0/configure 
CC=/usr/gcc/10/bin/gcc CXX=/usr/gcc/10/bin/g++ 
F77=/usr/gcc/10/bin/gfortran FC=/usr/gcc/10/bin/gfortran CFLAGS=-O2 
CXXFLAGS=-O2 FFLAGS='  -O3 ' FCFLAGS=-O2 LDFLAGS=-m64 
PKG_CONFIG_PATH=/usr/openssl/1.1/lib/64/pkgconfig:/usr/mariadb/10.6/lib/amd64/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/lib/pkgconfig 
--prefix=/usr/gcc/10 --mandir=/usr/gcc/10/share/man 
--bindir=/usr/gcc/10/bin --libdir=/usr/gcc/10/lib 
--sbindir=/usr/gcc/10/sbin --sbindir=/usr/gcc/10/bin 
--libdir=/usr/gcc/10/lib --libexecdir=/usr/gcc/10/lib --host 
x86_64-pc-solaris2.11 --build x86_64-pc-solaris2.11 --target 
x86_64-pc-solaris2.11 --with-pkgversion='OpenIndiana 10.5.0-oi-0' 
--with-bugurl=https://bugs.openindiana.org --without-gnu-ld 
--with-ld=/usr/bin/ld 
--with-build-time-tools=/usr/gnu/x86_64-pc-solaris2.11/bin --with-gnu-as 
--with-as=/usr/bin/gas LDFLAGS=-R/usr/gcc/10/lib 
--with-diagnostics-urls=auto-if-env --enable-plugins --enable-objc-gc 
--enable-languages=c,c++,fortran,go,lto,objc --disable-libitm 
enable_frame_pointer=yes
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.5.0 (OpenIndiana 10.5.0-oi-0)
COMPILER_PATH=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/:/usr/ccs/bin/
LIBRARY_PATH=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../amd64/:/lib/amd64/:/usr/lib/amd64/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
  /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/collect2 -V -M 
/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../libgcc-unwind.map 
-Y P,/usr/gcc/10/lib/amd64:/lib/amd64:/usr/lib/amd64 -R 
/usr/gcc/10/lib/amd64 -L /usr/gcc/10/lib/amd64 -Qy /usr/lib/amd64/crt1.o 
/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtp.o 
/usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o 
/usr/lib/amd64/values-xpg6.o 
/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtbegin.o 
-L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0 
-L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../amd64 
-L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../.. -t -lgcc_s 
-lgcc -lc -lgcc_s -lgcc 
/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtend.o 
/usr/lib/amd64/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1790 
(illumos)
Undefined                       first referenced
  symbol                             in file
main                                /usr/lib/amd64/crt1.o
ld: fatal: symbol referencing errors. No output written to a.out
collect2: error: ld returned 1 exit status


On 10/20/23 19:19, russell wrote:
>
> Hi
>
> When I run  gccgo -v
>
> $ gccgo -v
> Using built-in specs.
> COLLECT_GCC=gccgo
> COLLECT_LTO_WRAPPER=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/lto-wrapper
> Target: x86_64-pc-solaris2.11
> Configured with: 
> /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/gcc-releases-gcc-10.5.0/configure 
> CC=/usr/gcc/10/bin/gcc CXX=/usr/gcc/10/bin/g++ 
> F77=/usr/gcc/10/bin/gfortran FC=/usr/gcc/10/bin/gfortran CFLAGS=-O2 
> CXXFLAGS=-O2 FFLAGS='  -O3 ' FCFLAGS=-O2 LDFLAGS=-m64 
> PKG_CONFIG_PATH=/usr/openssl/1.1/lib/64/pkgconfig:/usr/mariadb/10.6/lib/amd64/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/lib/pkgconfig 
> --prefix=/usr/gcc/10 --mandir=/usr/gcc/10/share/man 
> --bindir=/usr/gcc/10/bin --libdir=/usr/gcc/10/lib 
> --sbindir=/usr/gcc/10/sbin --sbindir=/usr/gcc/10/bin 
> --libdir=/usr/gcc/10/lib --libexecdir=/usr/gcc/10/lib --host 
> x86_64-pc-solaris2.11 --build x86_64-pc-solaris2.11 --target 
> x86_64-pc-solaris2.11 --with-pkgversion='OpenIndiana 10.5.0-oi-0' 
> --with-bugurl=https://bugs.openindiana.org --without-gnu-ld 
> --with-ld=/usr/bin/ld 
> --with-build-time-tools=/usr/gnu/x86_64-pc-solaris2.11/bin 
> --with-gnu-as --with-as=/usr/bin/gas LDFLAGS=-R/usr/gcc/10/lib 
> --with-diagnostics-urls=auto-if-env --enable-plugins --enable-objc-gc 
> --enable-languages=c,c++,fortran,go,lto,objc --disable-libitm 
> enable_frame_pointer=yes
> Thread model: posix
> Supported LTO compression algorithms: zlib zstd
> gcc version 10.5.0 (OpenIndiana 10.5.0-oi-0)
> COMPILER_PATH=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/:/usr/ccs/bin/
> LIBRARY_PATH=/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../amd64/:/lib/amd64/:/usr/lib/amd64/:/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../:/lib/:/usr/lib/
> COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
>  /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/collect2 -V -M 
> /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../libgcc-unwind.map 
> -Y P,/usr/gcc/10/lib/amd64:/lib/amd64:/usr/lib/amd64 -R 
> /usr/gcc/10/lib/amd64 -L /usr/gcc/10/lib/amd64 -Qy 
> /usr/lib/amd64/crt1.o 
> /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtp.o 
> /usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o 
> /usr/lib/amd64/values-xpg6.o 
> /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtbegin.o 
> -L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0 
> -L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../../amd64 
> -L/usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/../../.. -t -lgcc_s 
> -lgcc -lc -lgcc_s -lgcc 
> /usr/gcc/10/lib/gcc/x86_64-pc-solaris2.11/10.5.0/crtend.o 
> /usr/lib/amd64/crtn.o
> ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1790 
> (illumos)
> Undefined                       first referenced
>  symbol                             in file
> main                                /usr/lib/amd64/crt1.o
> ld: fatal: symbol referencing errors. No output written to a.out
> collect2: error: ld returned 1 exit status
>
>
> Currently running  5.11 illumos-0ba72251d9 i86pc i386 i86pc which I 
> updated on 2023-10-14 08:17
>
>
> Kind Regards
>
> Russell
>


More information about the openindiana-discuss mailing list