Actions
Bug #13175
closedBuilding --with-jemalloc on FreeBSD fails
Description
Building Ruby 2.3 on FreeBSD 11 with --with-jemalloc leads to linking issues.
As of FreeBSD 10.0 jemalloc is in FreeBSD's libc and thus -ljemalloc will trigger a linktime error.
Removing -ljemalloc from the linker solves the issue
+@@ -4015,9 +4016,6 @@ AS_CASE(["$target_os"],
+ AS_CASE(["$with_gmp: $SOLIBS "], [no:* | *' -lgmp '*|*' $(LIBS) '*], [],
+ [SOLIBS="-lgmp $SOLIBS"])
+
+-AS_CASE(["$with_jemalloc: $LIBS "], [no:* | *' -ljemalloc '*], [],
+- [LIBS="-ljemalloc $LIBS"])
+-
+ MINIOBJS="$MINIDLNOBJ"
+
+ AS_CASE(["$THREAD_MODEL"],
Updated by naruse (Yui NARUSE) almost 8 years ago
- Status changed from Open to Rejected
You needn't --with-jemalloc; don't specify --with-jemalloc on FreeBSD.
Updated by nobu (Nobuyoshi Nakada) almost 8 years ago
- Description updated (diff)
- Status changed from Rejected to Closed
Updated by usa (Usaku NAKAMURA) almost 8 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED
Updated by usa (Usaku NAKAMURA) over 7 years ago
- Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: REQUIRED, 2.3: DONE, 2.4: REQUIRED
ruby_2_3 r58515 merged revision(s) 57490.
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: REQUIRED, 2.3: DONE, 2.4: REQUIRED to 2.2: REQUIRED, 2.3: DONE, 2.4: DONE
ruby_2_4 r58627 merged revision(s) 57490.
Updated by usa (Usaku NAKAMURA) over 7 years ago
- Related to Bug #13402: [PATCH] fix --with-gmp (broken by r57490) added
Actions
Like0
Like0Like0Like0Like0Like0Like0