rpmbuild --rebuild hdf5-1.8.1-1.fc9.src.rpm when compiled with mieee-fp draws
the follwoing error
checking for Fortran libraries of gfortran...
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../..
-lgfortranbegin -lgfortran -lm -lieee
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.90068 (%build)
in config.log
configure:5128: gcc -o conftest -pipe -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -Os -mtune=nocona -march=native -m64 -mpc80
-mno-sse3 -mieee-fp -fno-fast-math conftest.c
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../..
-lgfortranbegin -lgfortran -lm -lieee >&5
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/libieee.a:(.data+0x0):
multiple definition of `_LIB_VERSION'
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/libieee.a:(.data+0x0):
first defined here
collect2: ld returned 1 exit status
configure:5134: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "HDF5"
| #define PACKAGE_TARNAME "hdf5"
| #define PACKAGE_VERSION "1.8.1"
| #define PACKAGE_STRING "HDF5 1.8.1"
| #define PACKAGE_BUGREPORT "help(a)hdfgroup.org"
| #define PACKAGE "hdf5"
| #define VERSION "1.8.1"
| /* end confdefs.h. */
| #define FC_DUMMY_MAIN MAIN__
| #ifdef FC_DUMMY_MAIN
| #ifndef FC_DUMMY_MAIN_EQ_F77
| # ifdef __cplusplus
| extern "C"
| # endif
| int FC_DUMMY_MAIN() { return 1; }
| #endif
| #endif
| int
| main ()
| {
|
| ;
| return 0;
| }
removing the -mieee-fp switch stops the error , but does this mean that ieee
floating point compliant functionality is broken in gcc-4.3.0-8 binaries
downloadable here
http://koji.fedoraproject.org/koji/buildinfo?buildID=47461
--
View this message in context:
http://www.nabble.com/compiling-f90-programs-tp17693364p17693364.html
Sent from the Fedora Test List mailing list archive at
Nabble.com.