Comment # 1 on bug 1115034 from
Workaround: use -lgnat_pic:
...
$ rm -f hello.ali hello.o hello ; gnatmake -v hello.adb -largs -v -lgnat_pic

GNATMAKE 8.2.1 20181025 [gcc-8-branch revision 265488]
Copyright (C) 1992-2018, Free Software Foundation, Inc.
  "hello.ali" being checked ...
  -> "hello.ali" missing.
gcc -c hello.adb
End of compilation
gnatbind -x hello.ali
gnatlink hello.ali -v -lgnat_pic

GNATLINK 8.2.1 20181025 [gcc-8-branch revision 265488]
Copyright (C) 1995-2018, Free Software Foundation, Inc.
gcc -c -gnatA -gnatWb -gnatiw -gnatws /root/b~hello.adb
/usr/bin/gcc b~hello.o ./hello.o -lgnat_pic -o hello -L./
-L/usr/lib64/gcc/x86_64-suse-linux/8/adalib/
/usr/lib64/gcc/x86_64-suse-linux/8/adalib/libgnat.a -ldl -static-libgcc
$ ./hello 
Hello, world!
$
...


You are receiving this mail because: