🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6317

rs6000 collect2 & library not found

#6317
From: Karl Berry
Date: Mon, 18 Dec 1995 00:00
32 lines
2046 bytes
In trying to compile Emacs 19.30 on an rs6000 running AIX 3.2 with gcc
2.7.2, the link of temacs failed with this mysterious error:

collect2: /: library not found

Looking at the option parsing code in collect2.c, I see no obvious
culprit, either, unless it's somehow the the -b case.

When I invoke /bin/ld directly, with exactly the same argument list,
everything works fine.

Here is the precise invocation (except it was all on one line, of
course). I see no bare /'s or whatever.

 /usr/eng/gnu/rs6000/lib/gcc-lib/rs6000-ibm-aix/2.7.2/ld -T512 -H512
 -btextro -bhalt:4 -bnodelcsect -o temacs /lib/crt0.o
 -L/usr/local/x11r5/lib
 -L/usr/eng/gnu/rs6000/lib/gcc-lib/rs6000-ibm-aix/2.7.2
 -L/usr/eng/gnu/rs6000/lib -bnso -bnodelcsect -bI:/lib/syscalls.exp
 -bI:/u/eng-rw/gnu/src/emacs-19.30/src/m/ibmrs6000.inp dispnew.o frame.o
 scroll.o xdisp.o window.o cm.o term.o xterm.o xfns.o xfaces.o xmenu.o
 xselect.o xrdb.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o
 filelock.o insdel.o marker.o intervals.o textprop.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 unexaix.o mocklisp.o
 bytecode.o process.o callproc.o region-cache.o doprnt.o strftime.o
 getloadavg.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o
 widget.o hftctl.o ../lwlib/liblw.a -lXaw -lXmu -lXt -lXext -lX11
 -lcurses -lm
 /usr/eng/gnu/rs6000/lib/gcc-lib/rs6000-ibm-aix/2.7.2/libgcc.a -lc
 /usr/eng/gnu/rs6000/lib/gcc-lib/rs6000-ibm-aix/2.7.2/libgcc.a
Technical Details
Message-ID: <9512181459.AA26150@owl.hq.ileaf.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,3988c37d10cd0c74,start
X-Google-Attributes: gid113d02,public
From: karl@owl.hq.ILeaf.COM (Karl Berry)
Subject: rs6000 collect2 & library not found
Date: 1995/12/18
Message-ID: <9512181459.AA26150@owl.hq.ileaf.com>
X-Deja-AN: 122223931
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug