Hi, guys,
I recently upgraded my computer from RH9+ifc_pc_8.0.034 to FC2+lfc_pc_8.0.046+pe047. I met some problems when I used the switches -ipo and -static. The warnings are:
> ifort -ipo test.f90
IPO: using IR for /tmp/ifortvBLCy4.o
IPO: performing single-file optimizations
libc.a(strtoul_l.o) : multiple definition of '__strtol_ul_max_tab'
libc.a(strtol_l.o): first defined here
> ifort -static test.f90
/opt/intel_fc_80/lib/libifcoremt.a(for_open_proc.o)(.text+0x3929): In function `for__compute_filename':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Before upgrade, there were no such problems. Do you know how to fix it?
Thanks.
Z
I recently upgraded my computer from RH9+ifc_pc_8.0.034 to FC2+lfc_pc_8.0.046+pe047. I met some problems when I used the switches -ipo and -static. The warnings are:
> ifort -ipo test.f90
IPO: using IR for /tmp/ifortvBLCy4.o
IPO: performing single-file optimizations
libc.a(strtoul_l.o) : multiple definition of '__strtol_ul_max_tab'
libc.a(strtol_l.o): first defined here
> ifort -static test.f90
/opt/intel_fc_80/lib/libifcoremt.a(for_open_proc.o)(.text+0x3929): In function `for__compute_filename':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Before upgrade, there were no such problems. Do you know how to fix it?
Thanks.
Z
链接已复制
2 回复数
I am no expert on this, but I also tried to upgrade from RH9 to FC2, and had problems with ifort/idb and many other non-compiler (X and Gnome) issues. A clean install of FC2 (formatting everything but my /home partition) did the trick. (But you do have to re-install all your programs)
Also to get idb to work in FC you need an additional package, which isn't part of the default installation.
http://softwareforums.intel.com/ids/board/message?board.id=11&message.id=1268
I think the RH9->FC2 'upgrade' has issues when a package isn't simply replaced by another equivalent in FC2, and you get compatibility issues.
I haven't used those particular ifort flags and had that specific problem though, so I may be way off; Hope that helps.
Kris
Also to get idb to work in FC you need an additional package, which isn't part of the default installation.
http://softwareforums.intel.com/ids/board/message?board.id=11&message.id=1268
I think the RH9->FC2 'upgrade' has issues when a package isn't simply replaced by another equivalent in FC2, and you get compatibility issues.
I haven't used those particular ifort flags and had that specific problem though, so I may be way off; Hope that helps.
Kris
The hint about re-installation is probably on track. If you change your glibc major version, or other relevant libraries which come with linux, you may need to re-install the Intel compilers. You would also need a version of the compiler new enough to deal with the new glibc, so it would be a good time to grab an upgraded version. If you don't upgrade, there is an uninstall script in the compiler /bin directory, which will help you perform a clean re-installation from the original tar file.
