|
From: | Allan McRae |
Subject: | cross compiling issues |
Date: | Fri, 05 Feb 2010 22:17:40 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 |
Hi,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/libgcc_s.so: undefined reference to `__multf3' <path>/lib/gcc/i586-pc-gnu/4.4.0/../../../../i586-pc-gnu/lib/libgcc_s.so: undefined reference to `__fixunstfsi' <path>/lib/gcc/i586-pc-gnu/4.4.0/../../../../i586-pc-gnu/lib/libgcc_s.so: undefined reference to `__subtf3'
This seems to be a known issue (http://www.gnu.org/software/hurd/open_issues/gcc/c++.html), 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. Thanks, Allan
[Prev in Thread] | Current Thread | [Next in Thread] |