- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I was using ifort compiler, but i have seen the message that it will be deprecated, so I'm trying to use ifx instead, but I get this error:
lld-link: error: section larger than 4 GiB: .data
Do you have any suggestions?
Best regards,
Julie
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>And even worse....kept the common declarations inside the module, even though they were not necessary. I have commented out all the common statements in our biggest module and got everything to link correctly.
This has me suspicious that the compiler generated header file for the module, as opposed to the .mod file, is containing the data from the COMMON. Resulting in each procedure USEing the module (and thus incorporating the header) will add to the .data section.
IMHO this is a bug....
However, should the COMMON be named, then the named common cannot be located in the module .data section as it would be name-mangled (prefexed) with the module name.
IMHO a warning should be issued as to the consequences of using a named COMMON block within a module.
Jim

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »