Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPass -fPIC to native compiles on 32-bit #39523
Conversation
rust-highfive
assigned
aturon
Feb 4, 2017
This comment has been minimized.
This comment has been minimized.
|
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
alexcrichton
added
the
beta-nominated
label
Feb 6, 2017
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this pull request
Feb 7, 2017
bors
added a commit
that referenced
this pull request
Feb 7, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this pull request
Feb 7, 2017
bors
added a commit
that referenced
this pull request
Feb 7, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this pull request
Feb 8, 2017
bors
added a commit
that referenced
this pull request
Feb 8, 2017
bors
added a commit
that referenced
this pull request
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
@brson @alexcrichton Can we get this in 1.15.1? |
This comment has been minimized.
This comment has been minimized.
|
@bors p=1 (nominated for beta) |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
… On Wed, Feb 8, 2017 at 7:39 AM Ms2ger ***@***.***> wrote:
---- [run-pass] run-pass/issue-24227.rs stdout ----
error: compilation failed!
status: exit code: 101
command: /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc /Users/travis/build/rust-lang/rust/src/test/run-pass/issue-24227.rs -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass --target=x86_64-apple-darwin --error-format json -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.stage2-x86_64-apple-darwin.run-pass.libaux -C prefer-dynamic -o /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.stage2-x86_64-apple-darwin -Crpath -O -Lnative=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"linking with `cc` failed: exit code: 254","code":null,"level":"error","spans":[],"children":[{"message":"\"cc\" \"-m64\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.0.o\" \"-o\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.stage2-x86_64-apple-darwin\" \"-Wl,-dead_strip\" \"-nodefaultlibs\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.stage2-x86_64-apple-darwin.run-pass.libaux\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib\" \"-L\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib\" \"-l\" \"std-babe254b64e6389b\" \"/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-a156453e4a4418dc.rlib\" \"-l\" \"System\" \"-l\" \"pthread\" \"-l\" \"c\" \"-l\" \"m\" ***@***.***_path/../../stage2/lib/rustlib/x86_64-apple-darwin/lib\" \"-Wl,-rpath,/usr/local/lib/rustlib/x86_64-apple-darwin/lib\"","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"ld: warning: directory not found for option '-L/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-pass/issue-24227.stage2-x86_64-apple-darwin.run-pass.libaux'\nclang: error: unable to execute command: Segmentation fault: 11\nclang: error: linker command failed due to signal (use -v to see invocation)\n","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":null}
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":null}
------------------------------------------
thread '[run-pass] run-pass/issue-24227.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:2575
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39523 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95EqSMsKcsoTfhakguUcwRQ8TX2hBks5raeG0gaJpZM4L3Dub>
.
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
… On Wed, Feb 8, 2017 at 10:11 AM, bors ***@***.***> wrote:
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
|
bors
merged commit f98f6c7
into
rust-lang:master
Feb 8, 2017
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this pull request
Feb 9, 2017
alexcrichton
referenced this pull request
Feb 9, 2017
Merged
[beta] rustbuild: Pass -fPIC on 32-bit non-Windows platforms #39667
alexcrichton
added
the
beta-accepted
label
Feb 9, 2017
This comment has been minimized.
This comment has been minimized.
|
Backported in #39667 |
alexcrichton
deleted the
alexcrichton:fpic
branch
Feb 9, 2017
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this pull request
Feb 9, 2017
bors
added a commit
that referenced
this pull request
Feb 9, 2017
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this pull request
Feb 10, 2017
Manishearth
pushed a commit
to Manishearth/gecko-dev
that referenced
this pull request
Feb 10, 2017
alexcrichton
removed
the
beta-nominated
label
Feb 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
alexcrichton commentedFeb 4, 2017
This is apparently a regression from 1.14.0 to 1.15.0. Previously we
passed
-fPICto C compilers on i686 targets, but thegcccrateapparently explicitly didn't do this. I don't recall why that was
avoided but it was previously passed by the makefiles and this
seems to have caused a regression in Firefox, so this
commit reverts back to passing
-fPIC.