Skip to content

Commit 4dd8781

Browse files
committed
---
yaml --- r: 16344 b: refs/heads/try c: d8c16df h: refs/heads/master v: v3
1 parent a0c6516 commit 4dd8781

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 3cbd1e221ec9625e7879adb3fe406efd082cb60d
5+
refs/heads/try: d8c16df153a236edf047fe60bf76b98e95611655
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/mk/platform.mk

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
3333
CFG_DEF_SUFFIX := .bsd.def
3434
CFG_INSTALL_NAME =
3535
CFG_PERF_TOOL := /usr/bin/time
36-
37-
# FIXME (1825): We're deadlocking on FreeBSD
38-
ifndef RUST_THREADS
39-
RUST_THREADS=1
40-
export RUST_THREADS
41-
endif
4236
endif
4337

4438
ifneq ($(findstring linux,$(CFG_OSTYPE)),)

branches/try/src/rustc/back/link.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -645,12 +645,13 @@ fn link_binary(sess: session,
645645
}
646646

647647
if sess.targ_cfg.os == session::os_freebsd {
648-
cc_args += ["-lrt", "-L/usr/local/lib", "-lexecinfo",
649-
"-L/usr/local/lib/gcc46",
650-
"-L/usr/local/lib/gcc44", "-lstdc++",
651-
"-Wl,-z,origin",
652-
"-Wl,-rpath,/usr/local/lib/gcc46",
653-
"-Wl,-rpath,/usr/local/lib/gcc44"];
648+
cc_args += ["-pthread", "-lrt",
649+
"-L/usr/local/lib", "-lexecinfo",
650+
"-L/usr/local/lib/gcc46",
651+
"-L/usr/local/lib/gcc44", "-lstdc++",
652+
"-Wl,-z,origin",
653+
"-Wl,-rpath,/usr/local/lib/gcc46",
654+
"-Wl,-rpath,/usr/local/lib/gcc44"];
654655
}
655656

656657
// OS X 10.6 introduced 'compact unwind info', which is produced by the

0 commit comments

Comments
 (0)