public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] building an ia64 cross toolchain on debian?
@ 2003-04-28  6:29 Martin Pool
  2003-04-28  6:39 ` Martin Pool
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Martin Pool @ 2003-04-28  6:29 UTC (permalink / raw)
  To: linux-ia64

(Apologies if this isn't the appropriate list.)

I'm trying to build an i386->ia64 cross compiler on Debian sid as
described here:

  http://www.gelato.unsw.edu.au/IA64wiki/CrossCompilation

and in the toolchain-source manual.

There are errors about dh_split being missing, but they don't seem to
interrupt the build process.

toolchain-source shows these messages at startup:

$ tpkg-make ia64-unknown-linux
Target                    : ia64-unknown-linux
Maintainer                : Martin Pool
Email-Address             : mbp@samba.org
Toolchain                 : 3.2-7
  binutils                : 2.13.90.0.18
  gcc                     : 3.2.3.cvs20030221
  gdb                     : 5.3

The build gets a fair way through but fails when trying to build ld:

flex   ../../src/ld/ldlex.l && mv lex.yy.c ldlex.c
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -D_GNU_SOURCE -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -I../../src/ld/../intl -I../intl  -g -O2 -DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ldlex.c
lex.yy.c:3465: warning: no previous prototype for `yyget_lineno'
lex.yy.c:3474: warning: no previous prototype for `yyget_in'
lex.yy.c:3482: warning: no previous prototype for `yyget_out'
lex.yy.c:3490: warning: no previous prototype for `yyget_leng'
lex.yy.c:3499: warning: no previous prototype for `yyget_text'
lex.yy.c:3508: warning: no previous prototype for `yyset_lineno'
lex.yy.c:3520: warning: no previous prototype for `yyset_in'
lex.yy.c:3525: warning: no previous prototype for `yyset_out'
lex.yy.c:3530: warning: no previous prototype for `yyget_debug'
lex.yy.c:3535: warning: no previous prototype for `yyset_debug'
lex.yy.c:3541: warning: no previous prototype for `yylex_destroy'
../../src/ld/ldlex.l: In function `yy_input':
../../src/ld/ldlex.l:615: `yy_current_buffer' undeclared (first use in this function)
../../src/ld/ldlex.l:615: (Each undeclared identifier is reported only once
../../src/ld/ldlex.l:615: for each function it appears in.)
/usr/include/sys/stat.h: At top level:
lex.yy.c:2973: warning: `yyunput' defined but not used
make[4]: *** [ldlex.o] Error 1

It looks like an incompatibility between this version of binutils and
the version of flex in sid, which is 2.5.31-3.  Am I missing something
or can this just not be built at the moment?

I had no more luck trying to build a cross gcc from source without
tpkg-make -- more on that in a minute.

Any help would be enormously appreciated.

-- 
Martin 


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

end of thread, other threads:[~2003-04-28 23:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-28  6:29 [Linux-ia64] building an ia64 cross toolchain on debian? Martin Pool
2003-04-28  6:39 ` Martin Pool
2003-04-28  7:10 ` Martin Pool
2003-04-28 11:19 ` Peter Chubb
2003-04-28 13:33 ` Wichmann, Mats D
2003-04-28 23:03 ` Martin Pool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox