Skip to Content.
Sympa Menu

opal - Re: [Opal] Error compiling GCC 5.4 for opal on RHEL-6

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Error compiling GCC 5.4 for opal on RHEL-6


Chronological Thread 
  • From: PSI <achim.gsell AT psi.ch>
  • To: Christopher Mayes <cmayes AT stanford.edu>
  • Cc: "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
  • Subject: Re: [Opal] Error compiling GCC 5.4 for opal on RHEL-6
  • Date: Wed, 18 Oct 2017 09:49:12 +0200

Hi Chris,

you are using the compiler/linker of the RH development toolset:

/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld

Did you try with the default compiler?

Cheers

Achim


On 17 Oct 2017, at 20:54, Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch> wrote:

Hi  Chris no idea what this is. I forwarded this to the mailing list and 
to Achim, in charge of the build system.

Cheers Andreas 
------
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist
Paul Scherrer Institut WBBA/219 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
-------------------------------------------------------
Friday: ETH HPK G 28   +41 44 632 75 22
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================





Begin forwarded message:

From: Christopher Mayes <cmayes AT stanford.edu>
Subject: Error compiling GCC 5.4 for opal on RHEL-6
Date: 17 October 2017 at 19:48:08 GMT+2
To: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>

Hi Andreas,

I’m following the instructions for compiling OPAL, and ran into the error with GCC. Any idea what to do?

Thanks,

Chris




g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genmatch \
    build/genmatch.o ../build-x86_64-unknown-linux-gnu/libcpp/libcpp.a build/errors.o build/vec.o build/hash-table.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genpreds \
    build/genpreds.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genflags \
    build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genconditions \
    build/genconditions.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (648)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (571)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (792)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (817)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (608)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (594)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (636)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (842)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (800)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (530)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (622)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: del_op.o: access beyond end of merged section (553)
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: /afs/slac.stanford.edu/package/spack/opt/spack/linux-rhel6-x86_64/gcc-4.4.7/gcc-5.3.0-cv3yxpmklrqf7dl3zgvtapwy3l5jt7hz/lib64/../lib64/libstdc++.a(del_op.o)(.debug_info+0x2e6): reloc against `.debug_str': error 2
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[3]: *** [build/genmatch] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/afs/slac.stanford.edu/u/ad/cmayes/OPAL/src/gcc/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/afs/slac.stanford.edu/u/ad/cmayes/OPAL/src/gcc/build'
make: *** [all] Error 2




Paul Scherrer Institut
WHGA/U136
CH-5232 Villigen PSI
+41 56 310 36 74




Archive powered by MHonArc 2.6.19.

Top of Page