Summary: | app-editors/emacs-cvs-* fails to compile on sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raúl Porcel (RETIRED) <armin76> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pierre.poissinger, sh+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | sh | ||
OS: | Linux | ||
URL: | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2403 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=839405 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 238712 | ||
Attachments: |
emacs-cvs-23.0.9999-r1.build.log
emacs-cvs-23.0.91.build.log Partial revert of "bad" commit |
Description
Raúl Porcel (RETIRED)
2009-03-13 17:44:50 UTC
Created attachment 184895 [details]
emacs-cvs-23.0.9999-r1.build.log
(In reply to comment #1) > Created an attachment (id=184895) [edit] > emacs-cvs-23.0.9999-r1.build.log > It hangs there for days. root 1131 0.0 0.7 2440 996 pts/2 S+ 17:44 0:00 make - --jobser ver-fds=3,4 -j info all root 1326 0.0 0.6 3484 820 pts/2 S+ 17:50 0:00 /bin/sh -c boot =bootstrap-emacs; \?if [ ! -x "src/$boot" ]; then \? cd src; make all -w --jobserver-fds=3,4 - -- jobserver-fds=3,4 -j \? CC='sh4-unknown- linux-gnu-gcc' CFLAGS='-O2 -pipe' CPPFLAGS='-D_BSD_SOURCE ' \? LDF LAGS='-Wl,-O1 -Wl,-znocombreloc' MAKE='make' BOOTSTRAPEMACS="$boot"; \?fi; root 1327 0.0 1.0 2700 1336 pts/2 S+ 17:50 0:00 make all -w --j observer-fds=3,4 - --jobserver-fds=3,4 -j CC=sh4-unknown-linux-gnu-gcc CFLAGS=- O2 -pipe CPPFLAGS=-D_BSD_SOURCE LDFLAGS=-Wl,-O1 -Wl,-znocombreloc MAKE=make BO OTSTRAPEMACS=bootstrap-emacs root 1585 65.3 5.6 11444 7180 pts/2 R+ 18:28 5:47 /var/tmp/portag e/app-editors/emacs-cvs-23.0.9999-r1/work/emacs/src/temacs --batch --load loadup bootstrap Created attachment 184903 [details]
emacs-cvs-23.0.91.build.log
This is with emacs-cvs-23.0.91.
So i tried with a git checkout, and i bisected it to this commit: http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=commitdiff;h=2cca1253c9cc30fc7be3231b478e8b6859ef7600 If i revert that commit into a current checkout, it passes from that point, *however*, fails here: Compiling quail/quick-cns.el Fatal error (11)make[2]: *** [quail/quick-cns.elc] Segmentation fault make[2]: Leaving directory `/root/cvs/emacs/leim' make[1]: *** [leim] Error 2 make[1]: Leaving directory `/root/cvs/emacs' make: *** [bootstrap] Error 2 I remember that it worked back in october. Will investigate a bit more. More info... From here: http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=log;h=2cca1253c9cc30fc7be3231b478e8b6859ef7600;pg=0 Commit 9759cfa4c8a06c942da53b2c43d3c0e8572e3ef2((hash_get_category_set): New function.) WORKS. After that one(commits are listed from newer -> old, i.e, changes have been done from down to up), i get build failures, until the commit i said on comment #4, which hangs. Created attachment 186538 [details, diff]
Partial revert of "bad" commit
fyi: This partial revert allowed me to complete the bootstrap and finish build on AIX
As i said on the upstream bug, with the fix proposed by Ulrich, after debugging from Pierre, it doesn't hang on that place, yet i get a Bus error on the same place as comment #4. Fun! I'll open a new bug later Okay, the hang was fixed with the patch attached upstream, and the sigbus/segfault/things were fixed with forcing it to compile to -O0. Ulrich already added this patch and the replace-flags command to the ebuild. Therefore we can close this. Patch accepted upstream: <http://cvs.savannah.gnu.org/viewvc/emacs/src/s/gnu-linux.h?root=emacs&r1=1.116&r2=1.117> |