Hi! On Mon, 28 May 2012 15:13:54 +0800, newper <[email protected]> wrote: > Sorry to bother you
No problem at all -- always happy to help people who are willing to play with this hairy stuff -- but please use a public list next time. > I'm trying to cross-compile a hurd system from linux using your > cross-gnu script and the clfs-sysroot book.And finally I saw it boot :-) > though I still need to compile a lot of packages.But when I > cross-compiled glibc,it can't find the file errno-loc.c.After I > reverted the change "Move errno to TLS",it could be compiled > successfully.I'm wondering if there is something wrong with the > tschwinge/Roger_Whittaker branch, or I did something stupid.(I'm not > familiar with git and topgit) You're not alone: <http://news.gmane.org/find-root.php?message_id=%[email protected]%3E>, so yes, reverting that commit is your best bet until we have sorted out what's going wrong there. > Another problem is when I try to compile glibc natively ( so that I > can install the timezone and locales),the pthread.h overwrite issue > can't be prevented by install_root=/"$SYS_ROOT". Although I need to > install it under //, I still tried another directory like > //mnt/glibcnew.But none of them work. I have to hack the pthread.h. Hmm, I'll have to look at that in more detail when I'm back next week. > When I use localedef like localedef -i en_US -f UTF-8 en_US.UTF-8, I > got segfault. With the TLS errno patch reverted? That's unexpected. Is gdb able to tell anything interesting? > Currently the libpthread I'm using is tschwinge/Peter_Herbolzheimer. I > know the "master" branch is integrating it into glibc, could you tell > me how to use it ? Apparently,the tschwinge/Roger_Whittaker doesn't > work with it. No, that needs to be updated. Debian currently is more advanced than my setup is, so you'll have to look up what they are doing. People should be able to point you to the right places. (I have to leave; back mid of next week.) Grüße, Thomas
pgpC4bJc7ruU9.pgp
Description: PGP signature
