public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* binutils (cvs) problems
@ 2002-08-26 13:42 Nicholas Wourms
  0 siblings, 0 replies; 4+ messages in thread
From: Nicholas Wourms @ 2002-08-26 13:42 UTC (permalink / raw)
  To: cygwin

Hi,

Let me start by saying that "yes, I do have the w32api package
installed and it has been verified".  In fact, I have every package
installed except the japanese and apache stuff.  I am using the
gcc-3.2 packages just realeased by Chris.

For about the last month and a half, I have been frustrated with an
issue regarding binutils compiled from cvs sources.  Every single
time I've built the sources, a bad ld is produced.  What happens is
when gcc is linking a source file using the new ld, it dies with this
error:

[Snip]/i686-pc-cygwin/bin/ld: cannot find -luser32

Immediately reverting to the current version of binutils available
via setup.exe resolves this issue.  I then thought I was doing some
post install step wrong, so I looked at mknetrelease.  The only thing
different was that it replaces the binaries in
/usr/i686-pc-cygwin/bin with symlinks pointing to the binaries in
/usr/bin.  I went ahead and rebuilt binutils and did the
aforementioned step after installing them.  Still, I get the same
error as before.  I would like to try a newer version to see if it
will allow me to link Qt without running out of memory first.  So,
after searching the archives and what not, I am no more closer to a
solution than I was before.  Here are two questions that I am
investigating:

A)Is there a specific binutils branch I should be using rather than
HEAD?

B)Is there some sort of macro I'm supposed to pass to configure when
building of ld which allows the ld binary to automatically link to
libuser32 when used?  (I thought the search path stuff was done by
the gcc spec file?)

Back in June, the binutils cvs sources were building just fine and ld
worked as it should.  I'm not sure if this is pilot error or not, but
any insight regarding this would be greatly appreciated.  Thanks in
advance!

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: binutils (cvs) problems
  2002-08-26 18:03 Danny Smith
  2002-08-27  4:05 ` Nicholas Wourms
@ 2002-08-27  8:28 ` Nicholas Wourms
  1 sibling, 0 replies; 4+ messages in thread
From: Nicholas Wourms @ 2002-08-27  8:28 UTC (permalink / raw)
  To: Danny Smith, cygwin

--- Danny Smith <danny_r_smith_2001@yahoo.co.nz> wrote:
> > A)Is there a specific binutils branch I should be using rather
> than
> HEAD?
> 
> http://sources.redhat.com/ml/cygwin-apps/2002-08/msg00203.html
> 
> Easy as pie.

Unfortunately, the problem mentioned wasn't wasn't related to what I
was experiencing after all.  I tried the solution, but unfortunately
ld is still not able to find libuser32.a by default.  Any other
ideas?  Meanwhile, I'll try poking around the source but, as I said
before, I've never worked with binutils internally.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: binutils (cvs) problems
  2002-08-26 18:03 Danny Smith
@ 2002-08-27  4:05 ` Nicholas Wourms
  2002-08-27  8:28 ` Nicholas Wourms
  1 sibling, 0 replies; 4+ messages in thread
From: Nicholas Wourms @ 2002-08-27  4:05 UTC (permalink / raw)
  To: cygwin

--- Danny Smith <danny_r_smith_2001@yahoo.co.nz> wrote:
> > A)Is there a specific binutils branch I should be using rather
> than
> HEAD?
> 
> http://sources.redhat.com/ml/cygwin-apps/2002-08/msg00203.html
> 
Hmm, it wasn't so easy for me to connect the dots, seeing as how the
mentioned issue's symptoms were occuring during runtime, not during
the link stage.  Oh well, thanks for the pointer, I'll give it a try
and see what happens.  Kinda funny someone from Microsoft was the one
who discovered it =).  I guess the proper answer is to revert the
offending code.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: binutils (cvs) problems
@ 2002-08-26 18:03 Danny Smith
  2002-08-27  4:05 ` Nicholas Wourms
  2002-08-27  8:28 ` Nicholas Wourms
  0 siblings, 2 replies; 4+ messages in thread
From: Danny Smith @ 2002-08-26 18:03 UTC (permalink / raw)
  To: cygwin

> A)Is there a specific binutils branch I should be using rather than
HEAD?

http://sources.redhat.com/ml/cygwin-apps/2002-08/msg00203.html

Easy as pie.

Danny

http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2002-08-27  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 13:42 binutils (cvs) problems Nicholas Wourms
2002-08-26 18:03 Danny Smith
2002-08-27  4:05 ` Nicholas Wourms
2002-08-27  8:28 ` Nicholas Wourms

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).