http://bugzilla.opensuse.org/show_bug.cgi?id=1128333
http://bugzilla.opensuse.org/show_bug.cgi?id=1128333#c1
Martin Liška changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz@suse.com,
| |rguenther@suse.com
--- Comment #1 from Martin Liška ---
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.