Opened 8 years ago
Last modified 8 years ago
#51133 new defect
Xcode 7.3 bug: __DATA/__thread_bss extends beyond end of file
Reported by: | ith140@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | elcapitan | Cc: | jeremyhu (Jeremy Huddleston Sequoia), mojca (Mojca Miklavec) |
Port: | geant4.10.1 |
Description (last modified by mojca (Mojca Miklavec))
Bug building the new version with the p03 patch. I've looked at log file and am not really sure how to diagnose problem further, so I've attached it.
ld: section __DATA/__thread_bss extends beyond end of file, file 'CMakeFiles/G4processes.dir/hadronic/models/rpg/src/G4RPGAntiNeutronInelastic.cc.o' for architecture x86_64
Attachments (1)
Change History (7)
Changed 8 years ago by ith140@…
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to mojca@… |
---|
In the future, please Cc the port maintainers (port info --maintainers geant4.10.1
), if any.
comment:2 Changed 8 years ago by mojca (Mojca Miklavec)
Cc: | jeremyhu@… mojca@… added |
---|---|
Description: | modified (diff) |
Keywords: | elcapitan added |
Owner: | changed from mojca@… to macports-tickets@… |
Summary: | Geant 4.10.1 → Xcode 7.3 bug: __DATA/__thread_bss extends beyond end of file |
Version: | 2.3.4 |
This seems to be a bug in Xcode. Please try to downgrade your Xcode to version 7.2 until the problem gets fixed by Apple. There is nothing I can to about Geant4 (but I left it in the list of affected ports).
comment:3 follow-up: 4 Changed 8 years ago by mojca (Mojca Miklavec)
... unless I can blacklist the compiler. Can you please try if the following works?
sudo port install geant4.10.1 configure.compiler=macports-clang-3.7
You can try with different versions of clang, but I don't know if that changes anything or not.
comment:4 Changed 8 years ago by ith140@…
Replying to mojca@…:
... unless I can blacklist the compiler. Can you please try if the following works?
sudo port install geant4.10.1 configure.compiler=macports-clang-3.7You can try with different versions of clang, but I don't know if that changes anything or not.
It's not too easy to downgrade Xcode, however explicitly setting the compiler to clang-3.7 as suggested worked great. Thanks for the help!
comment:5 Changed 8 years ago by mojca (Mojca Miklavec)
What does clang --version
return? We could try to blacklist the compiler shipped by Xcode 7.3. (I'm not yet sure about the proper syntax for blacklisting just that.)
Log file from build process