https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216012
Bug ID: 216012 Summary: /usr/lib/libgcc_s.so underlinks libc after r308308 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-toolchain@FreeBSD.org Reporter: jbe...@freebsd.org Below example is a snippet from configure check in www/firefox. Rebuilding world WITHOUT_LLVM_LIBUNWIND=1 makes the issue disappear. $ pkg install -qy binutils fontconfig $ mkdir gold $ ln -s /usr/local/bin/ld.gold gold/ld $ echo 'int main() {}' >a.c $ cc -Bgold -L/usr/local/lib -lfontconfig a.c /usr/lib/libgcc_s.so: error: undefined reference to 'free' /usr/lib/libgcc_s.so: error: undefined reference to 'malloc' /usr/lib/libgcc_s.so: error: undefined reference to '__stderrp' /usr/lib/libgcc_s.so: error: undefined reference to 'memcpy' /usr/lib/libgcc_s.so: error: undefined reference to 'getenv' /usr/lib/libgcc_s.so: error: undefined reference to 'abort' /usr/lib/libgcc_s.so: error: undefined reference to 'fflush' /usr/lib/libgcc_s.so: error: undefined reference to 'memset' /usr/lib/libgcc_s.so: error: undefined reference to '__assert' /usr/lib/libgcc_s.so: error: undefined reference to 'snprintf' /usr/lib/libgcc_s.so: error: undefined reference to 'fprintf' /usr/lib/libgcc_s.so: error: undefined reference to 'fwrite' cc: error: linker command failed with exit code 1 (use -v to see invocation) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"