2002-10-09 17:00:45

by Alan Willis

[permalink] [raw]
Subject: Patches from Redhat gcc 3.2


Which of the 69 patches in the redhat gcc-3.2 rpm from RH8 provide the
functionality needed for the __thread keyword, and anything else needed for
nptl to work correctly. Also, are any modifications needed to glibc 2.3?
Also, I do not wish to make my system unusable with 2.4.x kernels,.. if I
build glibc with --enable-kernel=current, will that make glibc unusable with
2.4.x kernels? I've been using 2.5 for a while now,. but I do want a sane
recourse. Is this line also correct: --enable-addons=nptl,nptl_db, where
I've untarred the nptl dirs under in the main glibc directory.

I'm trying to set up an environment where I can use nptl on gentoo.

Any assistance is most welcome :o)

Thanks in advance,

-alan



2002-10-09 17:18:13

by Ulrich Drepper

[permalink] [raw]
Subject: Re: Patches from Redhat gcc 3.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan Willis wrote:

> Also, are any modifications needed to glibc 2.3?

I usually say what glibc version you need in the announcement. The
stock 2.3 was fine for 03. The next code drop will need more changes
which aren't in an official release yet. For the time being you should
consider the CVS head as always working. That's what I'm using internally.


> Also, I do not wish to make my system unusable with 2.4.x kernels,.. if I
> build glibc with --enable-kernel=current, will that make glibc unusable with
> 2.4.x kernels?

You mean you are building glibc on a system running 2.5? That certainly
makes the glibc unusable on 2.4 systems. It's the purpose of the whole
exercise.

How we will handle this in the end is another question. ld.so already
has some functionality which can help and that's probably what we will use.


> Is this line also correct: --enable-addons=nptl,nptl_db, where
> I've untarred the nptl dirs under in the main glibc directory.

Never mentioned nptl_db in this context. It's included automatically if
nptl is named.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9pGYl2ijCOnn/RHQRAtReAKC9cUWj9ctvGkU345F+trFH5y3KtACgq0K3
jV3RIHYP4s+cTPxWXQbawlU=
=39YB
-----END PGP SIGNATURE-----

2002-10-09 21:09:21

by Luigi Genoni

[permalink] [raw]
Subject: Re: Patches from Redhat gcc 3.2

I am using glibc 2.3 compiled with gcc 3.2, and no problems at all.
Just pay atention to your binutils version if you want prelinking.
Well, due to some changes in glibc I was unable to run binary statically
linked against glibc 2.2.X, so I had to recompile root bash...

bests

Luigi


On Wed, 9 Oct 2002, Alan Willis wrote:

> Date: Wed, 9 Oct 2002 13:08:08 -0400 (EDT)
> From: Alan Willis <[email protected]>
> Reply-To: [email protected]
> To: [email protected]
> Cc: [email protected]
> Subject: Patches from Redhat gcc 3.2
>
>
> Which of the 69 patches in the redhat gcc-3.2 rpm from RH8 provide the
> functionality needed for the __thread keyword, and anything else needed for
> nptl to work correctly. Also, are any modifications needed to glibc 2.3?
> Also, I do not wish to make my system unusable with 2.4.x kernels,.. if I
> build glibc with --enable-kernel=current, will that make glibc unusable with
> 2.4.x kernels? I've been using 2.5 for a while now,. but I do want a sane
> recourse. Is this line also correct: --enable-addons=nptl,nptl_db, where
> I've untarred the nptl dirs under in the main glibc directory.
>
> I'm trying to set up an environment where I can use nptl on gentoo.
>
> Any assistance is most welcome :o)
>
> Thanks in advance,
>
> -alan
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2002-10-10 01:29:19

by Alan Willis

[permalink] [raw]
Subject: Re: Patches from Redhat gcc 3.2

>> Also, are any modifications needed to glibc 2.3?
>
> Nope, but you are always best off using the CVS head for glibc during
> the experimental period of NPTL.
>

Cool, I think I'll wait for 2.3.1.

>> Also, I do not wish to make my system unusable with 2.4.x kernels,..
>> if I build glibc with --enable-kernel=current, will that make glibc
>> unusable with 2.4.x kernels?
>
> Use --enable-kernel=2.4.x for whatever earliest 2.4.x you want to work
> with.
>

I suspected as much but I wanted to be sure.

>> I've been using 2.5 for a while now,. but I do want a sane recourse.
>> Is this line also correct: --enable-addons=nptl,nptl_db, where I've
>> untarred the nptl dirs under in the main glibc directory.
>
> Just --enable-add-ons=nptl

Thank you Roland. I will probably end up installing RH8 anyway, for the
patches to gcc. Do binutils need to be rebuilt / linked against glibc?
I doubt it, but I figure it's better to just ask.

-alan


2002-10-11 02:26:14

by Richard Henderson

[permalink] [raw]
Subject: Re: Patches from Redhat gcc 3.2

On Wed, Oct 09, 2002 at 01:08:08PM -0400, Alan Willis wrote:
> Which of the 69 patches in the redhat gcc-3.2 rpm from RH8 provide the
> functionality needed for the __thread keyword...

The ones with "tls" in the title. There were at least 5 the last time
I checked. Alternaltly, check out either gcc-3_2-rhl8-branch or mainline
from gcc.gnu.org.


r~