bug-hurd
[Top][All Lists]
Advanced

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

Re: About hurd glibc...


From: Thomas Schwinge
Subject: Re: About hurd glibc...
Date: Wed, 30 May 2012 23:43:19 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Hi!

On Mon, 28 May 2012 15:13:54 +0800, newper <newpercly@gmail.com> 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=%3C87txzo9yl4.fsf@kepler.schwinge.homeip.net%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

Attachment: pgpjMpwbdhszp.pgp
Description: PGP signature


reply via email to

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