tech-toolchain archive

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

[PATCH 0/3] - Fix rump targets for GNU/Hurd i386 && native build



This includes a gcc patch, a build.sh patch and a one liner in osnet.

The idea is to integrate pooka's buildrump.sh fork back into src.

Something I'm not sure about is whether I can wrap the host toolchain
for native builds on other systems.  That is how buildrump.sh works.
I'm still having issues manually linking the built libs on Hurd.

TESTED on NetBSD:

	./build.sh -U -u -T ../tooldir tools rump
	./build.sh -U -u -T ../tooldir tools rumptest

TESTED on GNU/Hurd:

	LDADD=-L/usr/lib/i386-gnu ./build.sh -V MKGROFF=no -U -u -T ../tools -m i386 tools rump

FAILED on GNU/Hurd:

	LDADD=-L/usr/lib/i386-gnu ./build.sh -V MKGROFF=no -U -u -T ../tools -m i386 tools rumptest
	...
	i486--netbsdelf-ld: cannot find -lpthread
	i486--netbsdelf-ld: cannot find -lc

HURD $ gcc testrump.c -Wall -I./obj/destdir.i386/usr/include -L./obj/destdir.i386/usr/lib -I/usr/include -o testrump -lrump -lrumpuser -lrumpvfs -lrumpvfs_nofifofs
/usr/bin/ld: ./obj/destdir.i386/usr/lib/librump.so: undefined reference to `rumpuser_mutex_spin_p'
collect2: error: ld returned 1 exit status



Home | Main Index | Thread Index | Old Index