https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87260
Bug ID: 87260 Summary: [8 Regression] go fails to build a simple program on arm-linux-gnueabihf Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- this works with the gcc-7-branch, not with the gcc-8-branch. binutils is 2.31.1, glibc is 2.28. GO=go-8 WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat <<EOF > hello.go package main import "fmt" func main() { fmt.Println("hello world") } EOF $GO run hello.go $GO build hello.go echo "build: OK" ldd hello [ -x hello ] ./hello echo "run: OK" outputs ... /tmp/go-build749805653/b001/_buildid.s: Assembler messages: /tmp/go-build749805653/b001/_buildid.s:8: Error: junk at end of line, first unrecognized character is `,' /tmp/go-build749805653/b001/_buildid.s:9: Error: junk at end of line, first unrecognized character is `,' GCC is configured with Configured with: -v --with-pkgversion='Ubuntu 8.2.0-5ubuntu2' --with-bugurl='file:///usr/share/doc/gcc-8/README.Bugs' --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --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-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf