public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* binutils prerequisites (recent zlib version - what else?)
@ 2011-04-20 12:44 Steffen Dettmer
  2011-04-26 14:52 ` Steffen Dettmer
  2011-08-04 22:08 ` [PATCH] Correct zlib checks [Was: binutils prerequisites (recent zlib version - what else?)] Maciej W. Rozycki
  0 siblings, 2 replies; 15+ messages in thread
From: Steffen Dettmer @ 2011-04-20 12:44 UTC (permalink / raw)
  To: binutils

Hi,

I'm trying to build gcc-4.6.0 with binutils-2.21 in the same
source directory which fails with

cc1: warnings being treated as errors
../../../gcc-4.6.0/binutils/bfd/compress.c: In function
`bfd_compress_section_contents':
../../../gcc-4.6.0/binutils/bfd/compress.c:100: warning: implicit
declaration of function `compressBound'
make[7]: *** [compress.lo] Error 1

(I guess without -Werror it won't link).
Google told that this is a zlib symbol and my zlib would be too
old. Do I need more libraries and stuff?

  (Also I'm afraid I could be unable to compile zlib because my
  gcc-3.2 is too old...)

I looked http://gcc.gnu.org/install/prerequisites.html and
 ../gcc-4.6.0/binutils-2.21/configure --help|grep zlib
but did not find --disable-zlib or alike.

Why do I need zlib at all?

Do I have a conflict of ../gcc-4.6.0/zlib/ (which seems to have
strange subdirs only, there is no "unix" or so) and
/usr/include/zlib.h?

I think binutils has low prerequisites and wonder why it does
not compile on linux, probably I did something wrong.

I extracted binutils to extracted gcc src dir and symlinked it to
"binutils" and configured gcc:
../gcc-4.6.0/configure \
  --prefix=/usr/local/exp/gcc-4.6.0/ \
  --enable-languages=c,c++,go

Any hints how to progress or pointers to some documentation I
missed are appreciated.

oki,

Steffen

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

end of thread, other threads:[~2011-08-05  7:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 12:44 binutils prerequisites (recent zlib version - what else?) Steffen Dettmer
2011-04-26 14:52 ` Steffen Dettmer
2011-04-26 16:27   ` Ian Lance Taylor
2011-04-26 16:34     ` Steffen Dettmer
2011-04-26 17:04       ` H.J. Lu
2011-04-26 18:34         ` Steffen Dettmer
2011-04-26 18:05     ` kevin diggs
2011-04-26 18:11       ` kevin diggs
2011-04-26 18:21         ` Ian Lance Taylor
2011-04-26 18:19       ` Ian Lance Taylor
2011-04-26 18:39         ` Steffen Dettmer
2011-04-26 18:44           ` Steffen Dettmer
2011-04-27  6:08         ` Ralf Wildenhues
2011-08-04 22:08 ` [PATCH] Correct zlib checks [Was: binutils prerequisites (recent zlib version - what else?)] Maciej W. Rozycki
2011-08-05  7:52   ` Paolo Bonzini

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