This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/61418] [4.9 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2014-06-05
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
No. The issue is still there:

markus@x4 /tmp % /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran -v -shared
-fPIC H5Zf.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1

Driving: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran -v -shared -fPIC
H5Zf.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1 -l gfortran -l m -shared-libgcc
-specs=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec
Using built-in specs.
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec
rename spec lib to liborig
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-initfini-array --with-gold --enable-secureplt --disable-multilib
--disable-libvtv --disable-libitm --disable-libcilkrts --disable-libssp
--disable-libgomp --enable-cld
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/python
--enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
--with-boot-ldflags=-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=safe,--icf-iterations=3
--enable-version-specific-runtime-libs --disable-libstdcxx-pch
--enable-libstdcxx-time=yes --with-build-config=bootstrap-lto
Thread model: posix
gcc version 4.9.1 20140605 (prerelease) (GCC) 
COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../x86_64-pc-linux-gnu/bin/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-shared' '-fPIC'
'-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1' '-shared-libgcc'
'-specs=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec'
'-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/collect2 -plugin
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/liblto_plugin.so
-plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/lto-wrapper
-plugin-opt=-fresolution=/tmp/ccP7xwbZ.res -plugin-opt=-pass-through=-lgcc_s
-plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -shared
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/crtbeginS.o
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../.. H5Zf.o -lgfortran -lm -lgcc_s
-lquadmath -lm -lgcc_s -lc -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../lib64/crtn.o
 /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran @/tmp/ccmQ0Tqk.args
Driving: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran -xlto -c -fno-trapv
-fno-strict-overflow -mtune=generic -march=x86-64 -v -shared -fPIC -L
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1 -shared-libgcc
-specs=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec -mtune=generic
-march=x86-64 -fltrans-output-list=/tmp/ccbFnDE1.ltrans.out -fwpa
-fresolution=/tmp/ccP7xwbZ.res H5Zf.o
-specs=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec
Using built-in specs.
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec
rename spec lib to liborig
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec
gfortran: fatal error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/libgfortran.spec:
attempt to rename spec âlibâ to already defined spec âliborigâ
compilation terminated.
lto-wrapper: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gfortran returned 1 exit
status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../x86_64-pc-linux-gnu/bin/ld:
fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]