Re: Cross-compiling on NetBSD/alpha

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <20031024151632.GU350776@MrPomeroy2>
On 2003.10.24 16:02 Jaap Boender wrote:

> I've been trying to cross-compile NetBSD-current for hp700 on 
> an Alpha which also runs NetBSD.
[...]
> Then, the actual compilation failed with the following error:
> /usr/src/sys/miscfs/procfs/procfs_vnops.c: In function
> `procfs_readdir':
> /usr/src/sys/miscfs/procfs/procfs_vnops.c:1282: error: unrecognizable
> insn:
[...]
> /usr/src/sys/miscfs/procfs/procfs_vnops.c:1282: internal compiler
> error: in extr
> act_insn, at recog.c:2175
I know this errors. I tried to X-build hp700 on an Alpha too.
Unfortunately there is only one thing that you can do: Blame the GCC
people. GCC has problems (to be polite) when X-compiling (on a non-i386
host), especially if the compile host is 64 bit and the target is 32
bit. I had similar problems when X-building e.g. sparc on a sparc64
machine. 

So all I can recommend is: get a 32 bit machine for X compiling hp700. I
do all my hp700 developement on a PowerPC machine. I tried it on SPARC
too and it worked there also. 
-- 


tschÌß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.