[Bug 1128333] New: GCC 9: openmpi:standard build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1128333 Bug ID: 1128333 Summary: GCC 9: openmpi:standard build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... with: configure:32480: result: yes configure:32648: checking if Fortran compiler works configure:32677: gfortran -o conftest conftest.f >&5 /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(compile_options.o): relocation R_X86_64_32S against `.rodata._gfortrani_backtrace_handler' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(backtrace.o): relocation R_X86_64_32 against `.rodata.simple_callback.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(error.o): relocation R_X86_64_32 against `.rodata._gfortrani_sys_abort.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(unit.o): relocation R_X86_64_32 against `.rodata.insert.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(unix.o): relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(async.o): relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(string_intrinsics.o): relocation R_X86_64_32S against `.bss.zero_length_string' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(memory.o): relocation R_X86_64_32 against `.rodata._gfortrani_xmalloc.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(string.o): relocation R_X86_64_32 against `.rodata._gfortrani_fc_strdup.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(environ.o): relocation R_X86_64_32S against `.rodata.init_sep.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(fpu.o): relocation R_X86_64_32S against `.rodata.CSWTCH.32' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(format.o): relocation R_X86_64_32S against `.rodata.format_lex.part.0' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(transfer.o): relocation R_X86_64_32S against `.rodata.bswap_array' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(write.o): relocation R_X86_64_32 against `.rodata.limits.13288' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(list_read.o): relocation R_X86_64_32S against `.rodata.eat_separator' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(open.o): relocation R_X86_64_32 against `.rodata.edit_modes.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(read.o): relocation R_X86_64_32S against `.rodata.masks.13156' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: final link failed: nonrepresentable section on output collect2: error: ld returned 1 exit status configure:32677: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | end configure:32693: result: no configure:32707: error: Could not run a simple Fortran program. Aborting. which is a simple Fortran program. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1128333 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1120754 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1128333 http://bugzilla.opensuse.org/show_bug.cgi?id=1128333#c1 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz@suse.com, | |rguenther@suse.com --- Comment #1 from Martin Liška <martin.liska@suse.com> --- I can confirm that via chroot: $ cat /tmp/main.f90 program main end $ gfortran /tmp/main.f90 /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(compile_options.o): relocation R_X86_64_32S against `.rodata._gfortrani_backtrace_handler' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(backtrace.o): relocation R_X86_64_32 against `.rodata.simple_callback.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(error.o): relocation R_X86_64_32 against `.rodata._gfortrani_sys_abort.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(unit.o): relocation R_X86_64_32 against `.rodata.insert.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(unix.o): relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(async.o): relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(string_intrinsics.o): relocation R_X86_64_32S against `.bss.zero_length_string' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(memory.o): relocation R_X86_64_32 against `.rodata._gfortrani_xmalloc.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(string.o): relocation R_X86_64_32 against `.rodata._gfortrani_fc_strdup.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(environ.o): relocation R_X86_64_32S against `.rodata.init_sep.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(fpu.o): relocation R_X86_64_32S against `.rodata.CSWTCH.32' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(format.o): relocation R_X86_64_32S against `.rodata.format_lex.part.0' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(transfer.o): relocation R_X86_64_32S against `.rodata.bswap_array' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(write.o): relocation R_X86_64_32 against `.rodata.limits.13288' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(list_read.o): relocation R_X86_64_32S against `.rodata.eat_separator' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(open.o): relocation R_X86_64_32 against `.rodata.edit_modes.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/9/libgfortran.a(read.o): relocation R_X86_64_32S against `.rodata.masks.13156' can not be used when making a PIE object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: final link failed: nonrepresentable section on output collect2: error: ld returned 1 exit status abuild@marxinbox:~> gfortran /tmp/main.f90 -fPIC abuild@marxinbox:~> gfortran /tmp/main.f90 -fpie Richard, Michael: Is it related we currently use -fpie as a default option for all our packages? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com