public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* egcs-1.1.2: gcc seems to use direcory "ld" as linker
@ 1999-06-23  2:14 Wolfgang Schludi
  1999-06-23 13:23 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schludi @ 1999-06-23  2:14 UTC (permalink / raw)
  To: egcs-bugs

this happens on redhat-6.0 with egcs-1.1.2-12 installed:

$ mkdir foo
$ cd foo
$ echo 'main(){return 0;}' > bar.c 
$ /usr/bin/gcc -o bar bar.c
$ mkdir ld
$ /usr/bin/gcc -o bar bar.c
collect2: ld returned 33 exit status

-- 
schludi@syscomp.de
>From law@cygnus.com Wed Jun 23 02:17:00 1999
From: Jeffrey A Law <law@cygnus.com>
To: Alexandre Oliva <oliva@dcc.unicamp.br>
Cc: Stephane Conversy <Stephane.Conversy@lri.fr>, egcs-bugs@egcs.cygnus.com, egcs-patches@egcs.cygnus.com
Subject: Re: compile and install bugs on irix 
Date: Wed, 23 Jun 1999 02:17:00 -0000
Message-id: <32321.930129360@upchuck.cygnus.com>
References: <orzp1r1h8o.fsf@saci.lsd.dcc.unicamp.br>
X-SW-Source: 1999-06/msg00739.html
Content-length: 1299

  In message < orzp1r1h8o.fsf@saci.lsd.dcc.unicamp.br >you write:
  > > I don't know.  Presumably libz is needed for something on some systems.  
  > > Otherwise the test wouldn't be there to start with.
  > 
  > > Simply deleting it seems wrong.
  > 
  > Nope, we don't need libz for our builds.  Only install-info is
  > zlib-aware, in order to be able to read compressed info and dir files,
  > but we don't use the just-built install-info in gcc/Makefile and, even 
  > if we did, we're not creating compressed info files, and the Makefile
  > rule checks for the existence of $(infodir)/dir, not
  > $(infodir)/dir.gz, so we're quite safe.
You should talk to Gerald since he explicitly re-enabled install-info
presumbly so that it could be used somewhere in our tree.


  > Moreover, we could stop building install-info, since we don't (appear
  > to) use it, or start to use it instead of wasting CPU cycles on a
  > useless build.
As you know, the plan is to totally zap the whole texinfo tree after
gcc-2.95.  Until then I want to make the absolute minimal changes necessary
to this stuff.

What I do not understand (I did not follow the whole thread) is why other
folks are not having this problem.  What is different about the particular
system that's choking on libz right now?

jeff





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: egcs-1.1.2: gcc seems to use direcory "ld" as linker
  1999-06-23  2:14 egcs-1.1.2: gcc seems to use direcory "ld" as linker Wolfgang Schludi
@ 1999-06-23 13:23 ` Jeffrey A Law
  1999-06-30 23:07   ` Philipp Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1999-06-23 13:23 UTC (permalink / raw)
  To: schludi; +Cc: egcs-bugs

  In message < m10wj6h-000inwC@ra >you write:
  > this happens on redhat-6.0 with egcs-1.1.2-12 installed:
  > 
  > $ mkdir foo
  > $ cd foo
  > $ echo 'main(){return 0;}' > bar.c 
  > $ /usr/bin/gcc -o bar bar.c
  > $ mkdir ld
  > $ /usr/bin/gcc -o bar bar.c
  > collect2: ld returned 33 exit status
Take "." out of your path.  Or at least put it at the end of your path.  You're
a wonderful candidate for a trojan horse right now.

jeff
  > 
  > -- 
  > schludi@syscomp.de
  > 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: egcs-1.1.2: gcc seems to use direcory "ld" as linker
  1999-06-23 13:23 ` Jeffrey A Law
@ 1999-06-30 23:07   ` Philipp Thomas
  1999-06-30 23:07     ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Philipp Thomas @ 1999-06-30 23:07 UTC (permalink / raw)
  To: law, egcs-bugs

On Wed, 23 Jun 1999 14:22:47 -0600, Jeffrey A Law <law@cygnus.com>
wrote:

>Take "." out of your path.  Or at least put it at the end of your path.  You're
>a wonderful candidate for a trojan horse right now.

Yep, major error to do so. But isn't it still an error that egcs
doesn't check whether it's a directory it found ? Speaking of which, I
now seem to remember that a fix for this went in, no ?



Philipp

-- 
Close the windows! The penguin is freezing.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: egcs-1.1.2: gcc seems to use direcory "ld" as linker
  1999-06-30 23:07   ` Philipp Thomas
@ 1999-06-30 23:07     ` Jeffrey A Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1999-06-30 23:07 UTC (permalink / raw)
  To: Philipp Thomas; +Cc: egcs-bugs

  In message < 377fb24a.44902203@mailer.gwdg.de >you write:
  > On Wed, 23 Jun 1999 14:22:47 -0600, Jeffrey A Law <law@cygnus.com>
  > Yep, major error to do so. But isn't it still an error that egcs
  > doesn't check whether it's a directory it found ?
Yes.

  > Speaking of which, I
  > now seem to remember that a fix for this went in, no ?
A patch was submitted.  We'll deal with it after gcc-2.95 since it is not
critical for the gcc-2.95 release.
jeff


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-06-30 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-23  2:14 egcs-1.1.2: gcc seems to use direcory "ld" as linker Wolfgang Schludi
1999-06-23 13:23 ` Jeffrey A Law
1999-06-30 23:07   ` Philipp Thomas
1999-06-30 23:07     ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).