[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross compiling issues

From: Allan McRae
Subject: Re: cross compiling issues
Date: Sun, 14 Feb 2010 00:34:31 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100120 Shredder/3.0.1

On 05/02/10 22:17, Allan McRae wrote:

I can cross-compile a minimum booting Hurd system but am running into issues taking the system from there to something useful...

Using gcc-4.4, I do not get a working C++ cross compiler. It gives errors such as:

<path>/lib/gcc/i586-pc-gnu/4.4.0/../../../../i586-pc-gnu/lib/ undefined reference to `__multf3' <path>/lib/gcc/i586-pc-gnu/4.4.0/../../../../i586-pc-gnu/lib/ undefined reference to `__fixunstfsi' <path>/lib/gcc/i586-pc-gnu/4.4.0/../../../../i586-pc-gnu/lib/ undefined reference to `__subtf3'

This seems to be a known issue (, and I did see some mention of it being fixed in Debian, but I can not find a relevant patch.

If I downgrade to gcc-4.3, I do not build a booting hurd. The error message is:

Hurd server bootstrap: ext2fs.static[device:hd0s1] exec initext2fs.static: boot-start.c:278: diskfs_start_bootstrap: Unexpected error: No such file or directory.

This is not the error from a missing /servers/exec (although similar). Apart from gcc headers, there is no file difference between the gcc-4.4 and gcc-4.3 builds so that error message may be misleading...

Any hints on how to fix either issue would be much appreciated.

A small bump on this as these issues have been driving me crazy for the
last week...

I tested the latest gcc-4.5 snapshot and it still has the c++
cross-compiler issues so I guess there is not a patch for that.

So any hints on what to look at for the "No such file or directory" boot
issue with gcc-4.3?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]