GNU bug report logs -
#12047
24.1.50; configure fails on Gentoo FreeBSD
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Wed, 25 Jul 2012 23:13:02 UTC
Severity: important
Tags: patch
Found in version 24.1.50
Fixed in version 24.2
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 12047 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> (Another question is why crtbegin.o and crtend.o are needed for
> linking on FreeBSD, in the first place? Emacs builds and runs here
> without apparent problems, even if linked without these files.)
Coming back to this. After talking to the Gentoo BSD team, I've now
dropped crtbegin.o and crtend.o from linking on FreeBSD in the
Gentoo package.
See attached patch. Tested on Gentoo FreeBSD 9.0 and on (vanilla)
FreeBSD 7.0. It builds and runs just fine.
[emacs.patch (text/plain, inline)]
--- emacs-orig/ChangeLog
+++ emacs/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-27 Ulrich Müller <ulm <at> gentoo.org>
+
+ * configure.ac (LIB_STANDARD, START_FILES): On FreeBSD, don't
+ include crtbegin.o and crtend.o in the link (Bug#12047).
+
2012-07-17 Dmitry Antipov <dmantipov <at> yandex.ru>
Fix toolkit configuration report.
--- emacs-orig/configure.ac
+++ emacs/configure.ac
@@ -987,8 +987,8 @@
START_FILES='pre-crt0.o'
;;
freebsd )
- LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o'
- START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o'
+ LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o'
+ START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o'
SYSTEM_TYPE=berkeley-unix
;;
gnu-linux | gnu-kfreebsd )
This bug report was last modified 12 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.