Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179329 - sci-libs/netcdf-3.6.2 econf failed :: configure: error: Could not link conftestf.o and conftest.o
Summary: sci-libs/netcdf-3.6.2 econf failed :: configure: error: Could not link confte...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 16:18 UTC by George
Modified: 2007-05-21 17:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log without fortran (build.log,32.78 KB, text/plain)
2007-05-21 16:21 UTC, George
Details
build log with fortran (build.log,12.49 KB, text/plain)
2007-05-21 16:22 UTC, George
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George 2007-05-21 16:18:44 UTC
if compiling with fortran 
checking if Fortran "byte" is C "signed char"... configure: error: Could not link conftestf.o and conftest.o

without: bugs in function main()
main.c:(.text+0xb0): undefined reference to `emalloc'
main.c:(.text+0x19c): undefined reference to `derror'
main.c:(.text+0x1a1): undefined reference to `nc_inq_libvers'
main.c:(.text+0x1b0): undefined reference to `derror'
main.c:(.text+0x1e8): undefined reference to `emalloc'
main.c:(.text+0x230): undefined reference to `emalloc'
main.c:(.text+0x2e7): undefined reference to `derror'
main.c:(.text+0x317): undefined reference to `derror'
main.c:(.text+0x337): undefined reference to `derror'
main.c:(.text+0x354): undefined reference to `derror'
main.c:(.text+0x36f): undefined reference to `derror'
main.o:main.c:(.text+0x385): more undefined references to `derror' follow
main.o: In function `main':
main.c:(.text+0x3c4): undefined reference to `yyin'
main.c:(.text+0x3ea): undefined reference to `derror'
main.c:(.text+0x3c9): undefined reference to `yyparse'


Reproducible: Always

Steps to Reproduce:
1. emerge netcdf
2. USE="-fortran" emerge netcdf


Actual Results:  
impossible to install


CFLAGS="-mtune=athlon64 -fwhole-program -fprefetch-loop-arrays -ftree-loop-linear -floop-optimize2 -O3"

gcc 4.1.2
Comment 1 George 2007-05-21 16:21:25 UTC
Created attachment 119894 [details]
build.log without fortran
Comment 2 George 2007-05-21 16:22:11 UTC
Created attachment 119895 [details]
build log with fortran
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-21 17:39:31 UTC
Reopen if you can reproduce this with _sane_ C[XX]FLAGS, such as CFLAGS="-mtune=athlon64 -O3"