Closed Neo1102 closed 2 months ago
by the way Ubuntu 16.04.6 dont have this issue
Ye, I was about to ask - since I have never seen this problem. What version of GCC is there on ubuntu 16?
on Ubuntu 16
darkevil1102@VM:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.11' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)
hey boss i know how 2 fix this issues now edit makefile CC=gcc ↓ CC=gcc -fno-pie -no-pie its working on ubuntu 19.04
Thanks for the update. Sadly, I wanted to add the target (Ubuntu 19.04) to the Travis CI job, but it seems they are still stuck on 18.04.... And my understanding of Docker is close to zero.
I'm a bit eager to add these 2 options blindly. I wanted to have it integrated in continuous integration to avoid future problems. :/
Wait:
OS Ubuntu 18.04.2 x64
So you had the problem on 18.04 after all? Because I added 18.04.3 x64 job and it didn't fail: https://travis-ci.org/Levak/warfacebot/jobs/596705294
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
yeah 18.04 19.04 19.10 all fail
I now confirm the issue on Ubuntu 18.04 x64 Bionic using GCC 8.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
# gcc-8 --version
gcc-8 (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Using this allows me to compile:
make -B CC=gcc-8\ -fno-pie\ -no-pie
I will see if this change in compiler flags affects other non-affected platforms.
error massege:
how can i do? btw Ubuntu 16.04.6 doesn't have this issue