bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 21.1 - gcc: nocombreloc: No such file or directory


From: Andreas Schwab
Subject: Re: Emacs 21.1 - gcc: nocombreloc: No such file or directory
Date: 22 Oct 2001 19:24:21 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

Eli Zaretskii <eliz@is.elta.co.il> writes:

|> On Mon, 22 Oct 2001, Charles Sebold wrote:
|> 
|> >   Where should the build process find the source code?    
/home/csebold/emacs21-21.1/upstream/tarballs/emacs-21.1
|> >   What operating system and machine description files should Emacs use?
|> >         `s/gnu-linux.h' and `m/macppc.h'
|> [...]
|> > The compile of temacs breaks with:
|> > 
|> > gcc -nostdlib    -R/usr/X11R6/lib   -z nocombreloc  -Xlinker -m -Xlinker 
elf32ppc               -L/usr/X11R6/lib       -o temacs pre-crt0.o 
/usr/lib/crt1.o /usr/lib/crti.o  dispnew.o frame.o scroll.o xdisp.o xmenu.o 
window.o   charset.o coding.o category.o ccl.o     cm.o term.o xfaces.o xterm.o 
xfns.o xselect.o xrdb.o fontset.o  emacs.o keyboard.o macros.o keymap.o 
sysdep.o   buffer.o filelock.o insdel.o marker.o   minibuf.o fileio.o dired.o 
filemode.o   cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o  
alloc.o data.o doc.o editfns.o callint.o        eval.o floatfns.o fns.o print.o 
lread.o         abbrev.o syntax.o unexelf.o  mocklisp.o bytecode.o      
process.o callproc.o    region-cache.o sound.o atimer.o         doprnt.o 
strftime.o intervals.o textprop.o composite.o md5.o    
|> >  terminfo.o lastfile.o vm-limit.o  widget.o           ../lwlib/liblw.a 
-L/usr/X11R6/lib    -lXaw3d -lXmu  -lXt -lSM -lICE -lXext -ltiff  -ljpeg  -lpng 
-lz -lm  -lungif  -lXpm  -lX11              -lncurses         -lm  -lgcc -lc 
-lgcc /usr/lib/crtn.o     
|> > gcc: nocombreloc: No such file or directory
|> > make[1]: *** [temacs] Error 1
|> 
|> See src/s/gnu-linux.h, where it discusses `nocombreloc'.  Perhaps 
|> removing this line
|> 
|> #define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc
|> 
|> will help?  Or maybe make it "-Xlinker -z -Xlinker nocombreloc".

The latter will break the other Linux targets because prefix-args will
prepend -Xlinker again.

|> Andreas, this is your change; could you please advise?

The following patch should fix the problem:

2001-10-22  Andreas Schwab  <schwab@suse.de>

        * m/macppc.h [LINUX]: Don't define LINKER to the same as the
        default, so that prefix-args is still applied.

--- 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 19:21:58 2001
@@ -94,8 +94,7 @@
    For MkLinux/LinuxPPC.  */
 
 #ifdef LINUX
-#define LINKER $(CC) -nostdlib
-#define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
+#define LD_SWITCH_MACHINE -m elf32ppc
 #endif
 
 #if 0  /* This breaks things on PPC GNU/Linux ecept for Yellowdog,

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]