Skip to content

Fix an error compiling on centos 5 #2876

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 12, 2012
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Jul 12, 2012

Unfortunately this doesn't get rust to compile on Centos 5. Centos 5 uses glibc 2.5, but the snapshot-0 needs glibc 2.6+. Here's the error from that:

x86_64-unknown-linux-gnu/stage0/bin/rustc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /lib64/libc.so.6: version `GLIBC_2.6' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/erickt/rust-0.3/x86_64-unknown-linux-gnu/stage0/bin/../lib/./librustllvm.so)
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so] Error 1

Unfortunately this doesn't get rust to compile on Centos 5.
Centos 5 uses glibc 2.5, but the snapshot-0 needs glibc 2.6+.
graydon added a commit that referenced this pull request Jul 12, 2012
Fix an error compiling on centos 5
@graydon graydon merged commit c19b5d9 into rust-lang:dist-snap Jul 12, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this pull request May 11, 2023
clearer variable names in data_race
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants