Advertisement
Guest User

golang build failure on gcc (GCC) 5.0.0 20150316 (Red Hat 5.

a guest
Mar 19th, 2015
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. gcc -I . -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/runtime/cgo/_obj/_all.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_fatalf.o $WORK/runtime/cgo/_obj/gcc_linux_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -g -O2 -Wl,-r -nostdlib /usr/lib/gcc/x86_64-redhat-linux/5.0.0/libgcc.a -Wl,--build-id=none
  2. # runtime/cgo
  3. /usr/bin/ld: -r and -shared may not be used together
  4. collect2: error: ld returned 1 exit status
  5. archive/tar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement