Summary: | Emacs 21-1-r4 fails emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Yeun <mark> |
Component: | Current packages | Assignee: | Pieter Van den Abeele (RETIRED) <pvdabeel> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Yeun
2002-04-25 15:49:17 UTC
Resolved bug by adding export LDFLAGS="$LDFLAGS -znocombreloc" I also notified spider@gentoo.org who is maintaining the x86 version. Hi, The change you made to the ebuild didn't work. the '-z nocombreloc' is hardwired into emacs sources. Below is a patch I found to fix it (I tested it). Same place reports emacs-21.2 compiles without patching. I'll see if I can submit an ebuild for 21.2... references: http://www.livingtorah.org/~csebold/emacs/linuxppc.phtml Just to clarify: the change you made for me in the ebuild file is not necessary with this patch. 2001-10-22 Andreas Schwab * m/macppc.h [LINUX]: Override LD_SWITCH_SYSTEM_TEMACS. --- emacs-21.1/src/m/macppc.h.~1.6.~ Mon Oct 1 10:57:25 2001 +++ emacs-21.1/src/m/macppc.h Mon Oct 22 21:02:28 2001 @@ -96,6 +96,10 @@ #ifdef LINUX #define LINKER $(CC) -nostdlib #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc +/* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here + because prefix-args is not used. */ +#undef LD_SWITCH_SYSTEM_TEMACS +#define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc #endif #if 0 /* This breaks things on PPC GNU/Linux ecept for Yellowdog, Patch included and tested, things work now |