[11276] in Athena Bugs

home help back first fref pref prev next nref lref last post

gld in /mit/cgynus doesn't handle names with '@' in them

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Oct 25 16:21:42 1993

Date: Mon, 25 Oct 93 16:21:22 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: bugs@MIT.EDU


BUG:  gld in /mit/cgynus doesn't handle names with '@' in them. 

It looks like the '@' is being used as a special character to gld.

Example:

<tytso@tsx-11>        {~/test}
110% ls -R
total 2
   2 pmax_ul4/

pmax_ul4:
total 2
   1 foo.c     1 foo.o
<tytso@tsx-11>  {~/test}
111% gcc -v -o foo pmax_ul4/foo.o
Reading specs from /mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/specs
gcc version cygnus-2.3.3-930417
 /mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/ld -EL -o foo /usr/lib/cmplrs/cc/crt0.o -L/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417 -L/mit/cygnus-930630/decmips/lib/gcc-lib -L/usr/lib/cmplrs/cc -L/usr/lib/cmplrs/cc -L/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/../../.. pmax_ul4/foo.o -lgcc -lc -lgcc

<tytso@tsx-11>  {~/test}
112% gcc -v -o foo @sys/foo.o
Reading specs from /mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/specs
gcc version cygnus-2.3.3-930417
 /mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/ld -EL -o foo /usr/lib/cmplrs/cc/crt0.o -L/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417 -L/mit/cygnus-930630/decmips/lib/gcc-lib -L/usr/lib/cmplrs/cc -L/usr/lib/cmplrs/cc -L/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/../../.. @sys/foo.o -lgcc -lc -lgcc
@/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/../../../../mips-dec-ultrix/bin/gld: Can't open sys/foo.o
collect: ld returned 1 exit status
<tytso@tsx-11>  {~/test}
113%

Note that the '@' in:
@/mit/cygnus-930630/decmips/lib/gcc-lib/mips-dec-ultrix/cygnus-2.3.3-930417/../../../../mips-dec-ultrix/bin/gld: Can't open sys/foo.o

Is printed first, and then the rest of the line (starting with
/mit/cygnus-...) is printed a second or so later.

						- Ted


(Hi Reid, Mark!)

home help back first fref pref prev next nref lref last post