Skip to Content.
Sympa Menu

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

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

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


Chronological Thread 
  • From: Nicole Neveu <nneveu AT hawk.iit.edu>
  • To: Christopher Mayes <cmayes AT stanford.edu>
  • Cc: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>, "opal AT lists.psi.ch" <Opal AT lists.psi.ch>, "Gsell Achim (PSI)" <achim.gsell AT psi.ch>
  • Subject: Re: [Opal] Fwd: Error compiling GCC 5.4 for opal on RHEL-6
  • Date: Tue, 17 Oct 2017 22:55:42 -0500

Chris,

Did you compile with or without the SAAMG solver?
Which git branch did you check out?

It looks like a library/link error. Did you have trouble compiling any of the libraries?
Do you have zlib or szip in your library path?

Was there any stdout before this error, or did this pop up right after you called make?
Can you show us the output after cmake? i.e. pipe it to a text file or something.

Thanks,

Nicole


On Tue, Oct 17, 2017 at 10:20 PM, Christopher Mayes <cmayes AT stanford.edu> wrote:
Hi Nicole, I just followed the instructions verbatim for GCC 5.4:


Thanks,

Chris

On Oct 17, 2017, at 8:14 PM, Nicole Neveu <nneveu AT hawk.iit.edu> wrote:

Hi all,

I've been building OPAL on our cluster a lot lately....maybe I can help?
What did your cmake command look like? Are you using modules or your own libraries?

Thanks,

Nicole


On Tue, Oct 17, 2017 at 1:54 PM, 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








Archive powered by MHonArc 2.6.19.

Top of Page