Bug 169561
| Summary: | Need to compile with -fPIC to allow use on x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | netcdf | Assignee: | Ed Hill <ed> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | extras-qa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-09-29 18:11:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Orion Poplawski
2005-09-29 17:44:23 UTC
Hi Orion, are you certain that you've encountered a bug in netCDF? The "ncmex.o" file that you list is not included in netCDF -- its usually part of an add-on netCDF-for-MatLAB toolbox. And if you look in the netcdf.spec file you'll see that I am indeed using CPPFLAGS="-fPIC" so the vast majority of the library (which is in C) does get compiled with that flag. Or, do I also need to pass "-fPIC" for the bits compiled with gfortran (or g77) as well? If so, I'll try to see how to do that... Gah, so sorry. I needed to compile my object -fPIC. Sorry! No worries! And I don't think anyone is using the F90 parts of the netCDF static library to build any shared libs but, just to be safe, I've added "-fPIC" for them as well and checked that into CVS. They're building right now so a new version for FC4+ will be out soon-ish. |