Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable patching of GCC to make it prefer /lib over /lib64 to avoid breaking the build #3801

Conversation

boegel
Copy link
Member

@boegel boegel commented Nov 15, 2016

In easybuilders/easybuild-easyblocks#1030, patching of GCC was enabled to make it prefer /lib over /lib64 directories.

This causes problems with older versions of GCC (4.7.2 and earlier, except for 4.6.4):

/usr/lib/crti.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

with:

$ file /usr/lib/crti.o
/usr/lib/crti.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

This change simply disables the patching, to fix the build.
If needed, this can be revisited once the cause of the problem (and a fix) is figured out...

cc @sebth

@boegel
Copy link
Member Author

boegel commented Nov 15, 2016

superseded by disabling prefer_lib_subdir by default in the GCC easyblock, see easybuilders/easybuild-easyblocks#1035

@boegel boegel closed this Nov 15, 2016
@boegel boegel deleted the GCC_no_prefer_lib_subdir_old_versions branch November 15, 2016 10:10
@boegel
Copy link
Member Author

boegel commented Nov 15, 2016

Test report by @boegel
SUCCESS
Build succeeded for 14 out of 14 (14 easyconfigs in this PR)
node2055.delcatty.os - Linux SL 6.8, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.6.6
See https://gist.github.com/1d6d29bb79c1a91f59b153b69c9bf920 for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant