[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AUY-714188]: netcdf 4.1.3 fails to build with TAU



Hi Michael,

> netcdf 4.1.3 fails to build with TAU
> 
> Please see attached output from
> make check install 2>&1 | tee -a mkb_makeCheckInstall_optRevert
> where the build/check fails.

It looks like the error that causes the other failures is:

   ld: /usr/bin/../lib64/libbfd.a(bfd.o): relocation R_X86_64_32 against 
`bfd_section_hash_newfunc' can not be used when making a shared object; 
recompile with -fPIC
   /usr/bin/../lib64/libbfd.a: could not read symbols: Bad value

I don't know anything about taucc, the C compiler wrapper for TAU, but you 
might try 
doing whatever is necessary to include the "-fPIC" option when it invokes the C 
compiler.

If that doesn't work, all I can suggest is building a static library by using 
the confgure
option "--disable-shared" when you invoke the netCDF configure script.

If either of those work, please let us know.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: AUY-714188
Department: Support netCDF
Priority: Normal
Status: Closed