Bug#297769: patch
> On Fri, 08 Apr 2005 15:32:29 +0900, GOTO Masanori <[EMAIL PROTECTED]> > said: GOTO> I fear to change this interface until sarge release because there GOTO> might be another packages that uses sched_setaffinity. Well, yes, schedutils probably would need updating. I don't know of anything else, though. We only care about the Debian packages for sarge, I assume, right? If so, couldn't someone do a trivial find across all sources for sched_{s,g}et_affinity? I'd be happy to volunteer to fix all the packages that are affected (I'm not too worried, the number will be very small, I'm sure of that). GOTO> I tender not to include the patch. I would like to call your opinion GOTO> about Bastian's patch. That would really be unfortunate because it will mean that Debian is incompatible with all other modern distributions. It's very likely that it will cause a lot more grief down the road because new software will break. For example, recent LMbench3 releases started to use sched_setaffinity() and of course they use the correct (new) interface... --david -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#297769: patch
On Fri, Apr 08, 2005 at 03:32:29PM +0900, GOTO Masanori wrote: > At Thu, 24 Mar 2005 14:19:06 -0800, > Steve Langasek wrote: > > On Thu, Mar 24, 2005 at 04:44:10PM +0100, Bastian Blank wrote: > > > The attached patch updates sched_[gs]etaffinity to the new interface > > > from glibc 2.3.4. > I have difficulties with this patch. This patch adds new interface > glibc 2.3.4 versioning symbol - it should not be in glibc 2.3.2 or > 2.3.3. > > Investigation in the lintian lab on gluck.d.o shows that there are at least > > two packages, valgrind and schedutils, which would need to be updated to use > > the new API once this change is uploaded. Unfortunately, the data in that > > lintian lab is 9 months out-of-date, so a more thorough check is needed > > before this change can be allowed into sarge. > I fear to change this interface until sarge release because there > might be another packages that uses sched_setaffinity. I've confirmed that the lintian lab was up-to-date, in spite of some confusion about the timestamps on the directories. This means valgrind and schedutils are the only packages in Debian using this function currently, which means it's possible to update all of them at once. > I tender not to include the patch. I would like to call your opinion > about Bastian's patch. Well, there have been persuasive arguments why this patch is a good idea to include; persuasive enough that I left the bug at an RC severity. So my opinion is that it ought to be included... -- Steve Langasek postmodern programmer signature.asc Description: Digital signature
Bug#292673: additional info
At Sun, 27 Feb 2005 20:05:51 -0500, Daniel Jacobowitz wrote: > On Thu, Feb 24, 2005 at 02:17:44PM -0800, David Mosberger wrote: > > While there hasn't been any discussion for glibc bugzilla report #685 > > [1], private communication with one of the glibc maintainers indicates > > that this issue is not considered to be a glibc bug because, > > officially, glibc supports only one thread library at a time: > > LinuxThreads _or_ NPTL, but not both at the same time. Of course, > > every distro I know of ships both NPTL and LinuxThreads and the > > apparently accepted workaround appears to be to use the ld.so that was > > built for NPTL rather than the one that was built for LinuxThreads > > (more precisely, the ld.so should be used which uses larger thread > > descriptors). Thus, I strongly suspect Debian should do the same. > > Since this bug results in memory corruption that can be very hard to > > track down, I hope this can be fixed quickly. As a temporary > > workaround, just doing: > > > > # mv /lib/tls/ld-2.3.2.so /lib/ > > > > should cure the problem. > > ISTR that Red Hat has a patch for this in their glibc RPMs already. OK, I pulled the Jakub's patch and built it. I put it at: http://www.gotom.jp/~gotom/debian/glibc/2.3.2.ds1-21_ia64.linuxthreads David, could you test this glibc on your ia64 environment with (ex) evolution? Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#297769: patch
At Fri, 8 Apr 2005 00:11:07 -0700, Steve Langasek wrote: > > > Investigation in the lintian lab on gluck.d.o shows that there are at > > > least > > > two packages, valgrind and schedutils, which would need to be updated to > > > use > > > the new API once this change is uploaded. Unfortunately, the data in that > > > lintian lab is 9 months out-of-date, so a more thorough check is needed > > > before this change can be allowed into sarge. > > > I fear to change this interface until sarge release because there > > might be another packages that uses sched_setaffinity. > > I've confirmed that the lintian lab was up-to-date, in spite of some > confusion about the timestamps on the directories. This means valgrind and > schedutils are the only packages in Debian using this function currently, > which means it's possible to update all of them at once. Thanks for your checking - lintian lab is very nice feature for us. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#297769: patch
At Thu, 7 Apr 2005 23:46:51 -0700, David Mosberger wrote: > GOTO> I fear to change this interface until sarge release because there > GOTO> might be another packages that uses sched_setaffinity. > > Well, yes, schedutils probably would need updating. I don't know of > anything else, though. We only care about the Debian packages for > sarge, I assume, right? If so, couldn't someone do a trivial find > across all sources for sched_{s,g}et_affinity? I'd be happy to > volunteer to fix all the packages that are affected (I'm not too > worried, the number will be very small, I'm sure of that). Yes, fixing this issue is not difficult. The problem I concerned is the symbol GLIBC_PRIVATE is defined as GLIBC_2.3.4, not the current symbol GLIBC_2.3.3. I'm not certain this change does not cause any problems. > GOTO> I tender not to include the patch. I would like to call your opinion > GOTO> about Bastian's patch. > > That would really be unfortunate because it will mean that Debian is > incompatible with all other modern distributions. It's very likely > that it will cause a lot more grief down the road because new software > will break. For example, recent LMbench3 releases started to use > sched_setaffinity() and of course they use the correct (new) > interface... Indeed, but I would like to clear about the change of GLIBC_PRIVATE... Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#297769: patch
On Fri, Apr 08, 2005 at 10:04:17PM +0900, GOTO Masanori wrote: > The problem I concerned is the symbol GLIBC_PRIVATE is defined as > GLIBC_2.3.4, not the current symbol GLIBC_2.3.3. I'm not certain this > change does not cause any problems. It is a chain of version definitions. But binaries only save the actual value of the version and don't depend on the chain, otherwise it won't be ever able to add version in the middle or drop versions. Also GLIBC_PRIVATE is only used by glibc itself, so the only source of problems may the different glibc packages. But I currently see nothing which may really cause problems here as ld.so is not effected. (See this as a small part of the upgrade to 2.3.4, with the exception that you don't break the compatiblity between ld.so and libc.so.6.) Bastian -- You! What PLANET is this! -- McCoy, "The City on the Edge of Forever", stardate 3134.0 signature.asc Description: Digital signature
Bug#297769: patch
On Fri, Apr 08, 2005 at 10:04:17PM +0900, GOTO Masanori wrote: > At Thu, 7 Apr 2005 23:46:51 -0700, > David Mosberger wrote: > > GOTO> I fear to change this interface until sarge release because there > > GOTO> might be another packages that uses sched_setaffinity. > > > > Well, yes, schedutils probably would need updating. I don't know of > > anything else, though. We only care about the Debian packages for > > sarge, I assume, right? If so, couldn't someone do a trivial find > > across all sources for sched_{s,g}et_affinity? I'd be happy to > > volunteer to fix all the packages that are affected (I'm not too > > worried, the number will be very small, I'm sure of that). > > Yes, fixing this issue is not difficult. > > The problem I concerned is the symbol GLIBC_PRIVATE is defined as > GLIBC_2.3.4, not the current symbol GLIBC_2.3.3. I'm not certain this > change does not cause any problems. It does not; Bastian's patch looks fine to me. I do this for glibc backports on a regular basis. The only thing that might be affected would be GLIBC_PRIVATE, and nothing needs to be compatible with GLIBC_PRIVATE outside the glibc packages. I don't think it will actually affect GLIBC_PRIVATE, either, but I'd have to play around with it to make sure. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#292673: works for me
GOTO, Your debs worked for me - evolution now starts w/o LD_ASSUME_KERNEL=2.4.18. Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
reconfig video
I installed debian r 3.1 two times this week and resolution was fine 1280 x 1024. Now on the same system I have run the network onstall of the latest testbuild. I can only get 800X600 and or 800 X480 on the same hardware. I have been reading all the options to change but they only allow selecting from a list and the above values are all I can pick. So how to I rerun the install for the xserver I have tried a number of config tools they do not run. Is there a way to redo the video from a shell other than editing the config file?
Bug#297769: patch
At Fri, 8 Apr 2005 09:59:35 -0400, Daniel Jacobowitz wrote: > The only thing that might be affected would be GLIBC_PRIVATE, and > nothing needs to be compatible with GLIBC_PRIVATE outside the glibc > packages. I don't think it will actually affect GLIBC_PRIVATE, either, > but I'd have to play around with it to make sure. If you plan to check, please try to test it from: http://www.gotom.jp/~gotom/debian/glibc/2.3.2.ds1-21_i386.sched/ Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#297769: patch
At Fri, 8 Apr 2005 15:31:56 +0200, Bastian Blank wrote: > Also GLIBC_PRIVATE is only used by glibc itself, so the only source of > problems may the different glibc packages. But I currently see nothing > which may really cause problems here as ld.so is not effected. (See this > as a small part of the upgrade to 2.3.4, with the exception that you > don't break the compatiblity between ld.so and libc.so.6.) Yes, exactly, thinking about "upgrade to 2.3.4", it should not make a problem. I'm rathar a bit nervous of supporting this special situation (ex: distro compatibility and so on) because -21 should be the last call for sarge stuff... Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#292673: works for me
At Fri, 08 Apr 2005 09:29:49 -0600, dann frazier wrote: > Your debs worked for me - evolution now starts w/o > LD_ASSUME_KERNEL=2.4.18. Thanks. That's great. I'll put the patch. BTW, for debian glibc people, I didn't enable the pthread size fix for alpha, i386, ppc, sparc and s390 (+sh). If this problem is appeared again on other architectures, please let me know. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#292673: additional info
> On Fri, 08 Apr 2005 18:38:05 +0900, GOTO Masanori <[EMAIL PROTECTED]> > said: GOTO> OK, I pulled the Jakub's patch and built it. I put it at: GOTO> GOTO> http://www.gotom.jp/~gotom/debian/glibc/2.3.2.ds1-21_ia64.linuxthreads GOTO> David, could you test this glibc on your ia64 environment with GOTO> (ex) evolution? I see that Dann already has done so. If you still need me to test something, let me know. Thanks for fixing this! --david -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#303816: glibc: [intl:fi] Finnish translation
Package: glibc Severity: wishlist Tags: patch l10n Please find attached the Finnish translation of the debconf messages. cheers, Matti -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-1-686 Locale: LANG=fi_FI, LC_CTYPE=fi_FI (charmap=ISO-8859-1) # #Translators, if you are not familiar with the PO format, gettext #documentation is worth reading, especially sections dedicated to #this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # #Some information specific to po-debconf are available at #/usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # #Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: glibc\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-11-01 23:07-0500\n" "PO-Revision-Date: 2005-04-09 01:47+0300\n" "Last-Translator: Matti PÃllà <[EMAIL PROTECTED]>\n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Description #: ../debhelper.in/locales.templates:4 msgid "Select locales to be generated." msgstr "Valitse muodostettavat lokaalit." #. Type: multiselect #. Description #: ../debhelper.in/locales.templates:4 msgid "" "Locale is a framework to switch between multiple languages for users who can " "select to use their language, country, characters, collation order, etc." msgstr "" "Lokaalien avulla on mahdollista kÃyttÃà useita kielià siten, ettÃ\n" "kÃyttÃjÃt voivat itse valita kÃyttÃmÃnsà kielen, maan, merkistÃn\n" "jne. " #. Type: multiselect #. Description #: ../debhelper.in/locales.templates:4 msgid "" "Choose which locales to generate. The selection will be saved to `/etc/" "locale.gen', which you can also edit manually (you need to run `locale-gen' " "afterwards)." msgstr "" "Valitse lokaalit, jotka haluat muodostaa. Valinta talletetaan tiedostoon\n" "\"/etc/locale.gen\", jota voit myÃs itse muokata. (Muokkaamisen jÃlkeen\n" "tulee ajaa komento \"locale-gen\".)" #. Type: select #. Choices #: ../debhelper.in/locales.templates:14 msgid "None, ${locales}" msgstr "Ei mitÃÃn, ${locales}" #. Type: select #. Description #: ../debhelper.in/locales.templates:16 msgid "Which locale should be the default in the system environment?" msgstr "Minkà lokaalin tulisi olla jÃrjestelmÃn oletus?" #. Type: select #. Description #: ../debhelper.in/locales.templates:16 msgid "" "Many packages in Debian use locales to display text in the correct language " "for users. You can change the default locale if you're not a native English " "speaker. These choices are based on which locales you have chosen to " "generate." msgstr "" "Monet Debianin paketit kÃyttÃvÃt lokaaleja nÃyttÃmÃÃn kÃyttÃjÃlle\n" "tekstit oikealla kielellÃ. Voit muuttaa oletusarvoisen lokaalin, jos\n" "et puhu suomea ÃidinkielenÃsi. NÃmà valinnat perustuvat lokaaleihin,\n" "jotka valitsit muodostaa." #. Type: select #. Description #: ../debhelper.in/locales.templates:16 msgid "" "Note: This will select the language for your whole system. If you're running " "a multi-user system where not all of your users speak the language of your " "choice, then they will run into difficulties and you might want not to set a " "default locale." msgstr "" "Huomaa: TÃmà valitsee koko jÃrjestelmÃn kielen. Jos kyseessà on monen\n" "kÃyttÃjÃn ympÃristÃ, jossa kaikki kÃyttÃjÃt eivÃt puhu valitsemaasi\n" "kieltÃ, oletuskielen valitseminen ei ehkà ole jÃrkevÃÃ."
Bug#297769: patch
On Sat, Apr 09, 2005 at 12:46:24AM +0900, GOTO Masanori wrote: > At Fri, 8 Apr 2005 15:31:56 +0200, > Bastian Blank wrote: > > Also GLIBC_PRIVATE is only used by glibc itself, so the only source of > > problems may the different glibc packages. But I currently see nothing > > which may really cause problems here as ld.so is not effected. (See this > > as a small part of the upgrade to 2.3.4, with the exception that you > > don't break the compatiblity between ld.so and libc.so.6.) > > Yes, exactly, thinking about "upgrade to 2.3.4", it should not make a > problem. > > I'm rathar a bit nervous of supporting this special situation (ex: > distro compatibility and so on) because -21 should be the last call > for sarge stuff... Could you explain what it is you're worried about? We absolutely ought to have this patch... -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#303816: glibc: [intl:fi] Finnish translation
At Sat, 09 Apr 2005 01:49:29 +0300, Matti Pöllä wrote: > Please find attached the Finnish translation of the debconf messages. Thanks! I've put it in. Regards, -- gotom
r871 - glibc-package/trunk/debian/po
Author: gotom Date: 2005-04-09 01:13:26 + (Sat, 09 Apr 2005) New Revision: 871 Added: glibc-package/trunk/debian/po/fi.po Log: Add po/fi.po. Added: glibc-package/trunk/debian/po/fi.po === --- glibc-package/trunk/debian/po/fi.po 2005-04-03 04:38:09 UTC (rev 870) +++ glibc-package/trunk/debian/po/fi.po 2005-04-09 01:13:26 UTC (rev 871) @@ -0,0 +1,92 @@ +# +#Translators, if you are not familiar with the PO format, gettext +#documentation is worth reading, especially sections dedicated to +#this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +#Some information specific to po-debconf are available at +#/usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +#Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: glibc\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-11-01 23:07-0500\n" +"PO-Revision-Date: 2005-04-09 01:47+0300\n" +"Last-Translator: Matti PÃllà <[EMAIL PROTECTED]>\n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../debhelper.in/locales.templates:4 +msgid "Select locales to be generated." +msgstr "Valitse muodostettavat lokaalit." + +#. Type: multiselect +#. Description +#: ../debhelper.in/locales.templates:4 +msgid "" +"Locale is a framework to switch between multiple languages for users who can " +"select to use their language, country, characters, collation order, etc." +msgstr "" +"Lokaalien avulla on mahdollista kÃyttÃà useita kielià siten, ettÃ\n" +"kÃyttÃjÃt voivat itse valita kÃyttÃmÃnsà kielen, maan, merkistÃn\n" +"jne. " + +#. Type: multiselect +#. Description +#: ../debhelper.in/locales.templates:4 +msgid "" +"Choose which locales to generate. The selection will be saved to `/etc/" +"locale.gen', which you can also edit manually (you need to run `locale-gen' " +"afterwards)." +msgstr "" +"Valitse lokaalit, jotka haluat muodostaa. Valinta talletetaan tiedostoon\n" +"\"/etc/locale.gen\", jota voit myÃs itse muokata. (Muokkaamisen jÃlkeen\n" +"tulee ajaa komento \"locale-gen\".)" + +#. Type: select +#. Choices +#: ../debhelper.in/locales.templates:14 +msgid "None, ${locales}" +msgstr "Ei mitÃÃn, ${locales}" + +#. Type: select +#. Description +#: ../debhelper.in/locales.templates:16 +msgid "Which locale should be the default in the system environment?" +msgstr "Minkà lokaalin tulisi olla jÃrjestelmÃn oletus?" + +#. Type: select +#. Description +#: ../debhelper.in/locales.templates:16 +msgid "" +"Many packages in Debian use locales to display text in the correct language " +"for users. You can change the default locale if you're not a native English " +"speaker. These choices are based on which locales you have chosen to " +"generate." +msgstr "" +"Monet Debianin paketit kÃyttÃvÃt lokaaleja nÃyttÃmÃÃn kÃyttÃjÃlle\n" +"tekstit oikealla kielellÃ. Voit muuttaa oletusarvoisen lokaalin, jos\n" +"et puhu suomea ÃidinkielenÃsi. NÃmà valinnat perustuvat lokaaleihin,\n" +"jotka valitsit muodostaa." + +#. Type: select +#. Description +#: ../debhelper.in/locales.templates:16 +msgid "" +"Note: This will select the language for your whole system. If you're running " +"a multi-user system where not all of your users speak the language of your " +"choice, then they will run into difficulties and you might want not to set a " +"default locale." +msgstr "" +"Huomaa: TÃmà valitsee koko jÃrjestelmÃn kielen. Jos kyseessà on monen\n" +"kÃyttÃjÃn ympÃristÃ, jossa kaikki kÃyttÃjÃt eivÃt puhu valitsemaasi\n" +"kieltÃ, oletuskielen valitseminen ei ehkà ole jÃrkevÃÃ." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#266438: zdump -v causes core dump on IA64 Linux
Processing commands for [EMAIL PROTECTED]: > tags 266438 fixed-upstream Bug#266438: zdump -v causes core dump on IA64 Linux There were no tags set. Tags added: fixed-upstream > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r872 - glibc-package/trunk/debian/patches
Author: gotom Date: 2005-04-09 01:20:11 + (Sat, 09 Apr 2005) New Revision: 872 Added: glibc-package/trunk/debian/patches/linuxthreads-sizefix.dpatch Log: - debian/patches/linuxthreads-sizefix.dpatch: Fix ia64 TLS_PRE_TCB_SIZE alignment where TLS_DTV_AT_TP is defined between linuxthreads and nptl. It breaks evolution on ia64 linuxthreads ld.so + nptl environment. (Closes: #292673) Added: glibc-package/trunk/debian/patches/linuxthreads-sizefix.dpatch === --- glibc-package/trunk/debian/patches/linuxthreads-sizefix.dpatch 2005-04-09 01:13:26 UTC (rev 871) +++ glibc-package/trunk/debian/patches/linuxthreads-sizefix.dpatch 2005-04-09 01:20:11 UTC (rev 872) @@ -0,0 +1,183 @@ +#! /bin/sh -e + +# All lines beginning with `# DP:' are a description of the patch. +# DP: Description: Align TLS_PRE_TCB_SIZE between linuxthreads and nptl. +# The patch is based on fedora-20031105. +# DP: Related bugs: #292673 +# DP: Dpatch author: GOTO Masanori <[EMAIL PROTECTED]> +# DP: Patch author: Jakub Jelinek <[EMAIL PROTECTED]> +# DP: Upstream status: Debian-Specific +# DP: Status Details: Currently IA-64 part is applied. +# DP: Date: 2005-04-09 + +PATCHLEVEL=1 + +if [ $# -ne 2 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi +case "$1" in +-patch) patch -d "$2" -f --no-backup-if-mismatch -p$PATCHLEVEL < $0;; +-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p$PATCHLEVEL < $0;; +*) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +# append the patch here and adjust the -p? flag in the patch calls. +2003-09-02 Jakub Jelinek <[EMAIL PROTECTED]> + + * sysdeps/sparc/tls.h (TLS_TCB_SIZE): If in ld.so and NPTL struct + pthread is bigger than struct _pthread_descr_struct, use NPTL struct + pthread size. + +2003-07-22 Jakub Jelinek <[EMAIL PROTECTED]> + + * sysdeps/alpha/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Change to 0. + (TLS_INIT_TCB_ALIGN, TLS_TCB_ALIGN): Alignment of struct + _pthread_descr_struct. + (TLS_PRE_TCB_SIZE): Add sizeof (tcbhead_t) and pad to align. + If in ld.so and NPTL struct pthread is bigger than struct + _pthread_descr_struct, use NPTL struct pthread size. + (TLS_TCB_OFFSET): Define. + (INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, TLS_INIT_TP, THREAD_DTV, + THREAD_SELF, INIT_THREAD_SELF): Changed to match NPTL tls.h + definitions. + * sysdeps/i386/tls.h (TLS_TCB_SIZE): If in ld.so and NPTL struct + pthread is bigger than struct _pthread_descr_struct, use NPTL struct + pthread size. + * sysdeps/ia64/tls.h (TLS_PRE_TCB_SIZE): Likewise. + * sysdeps/powerpc/tls.h (TLS_PRE_TCB_SIZE): Likewise. + * sysdeps/s390/tls.h (TLS_TCB_SIZE): Likewise. + * sysdeps/sh/tls.h (TLS_PRE_TCB_SIZE): Likewise. + * sysdeps/x86_64/tls.h (TLS_TCB_SIZE): Likewise. + * sysdeps/pthread/Makefile (gen-as-const-headers): Add + nptl-struct-pthread.sym if nptl tree is present. + (before-compile): Add $(common-objpfx)nptl-struct-pthread.h + if nptl tree is not present. + (common-generated): Add nptl-struct-pthread.h. + ($(common-objpfx)nptl-struct-pthread.h): New rule. + * sysdeps/pthread/nptl-struct-pthread.sym: New file. + +2003-07-22 Jakub Jelinek <[EMAIL PROTECTED]> + + * descr.h: Don't include lowlevellock.h, pthreaddef.h and dl-sysdep.h + if __need_struct_pthread_size, instead define lll_lock_t. + + +--- glibc-2.3.2-net/linuxthreads/Makefile 4 Oct 2003 11:52:58 - 1.1.1.53 glibc-2.3.2-redhat/linuxthreads/Makefile 4 Oct 2003 12:06:23 - 1.32 +@@ -244,15 +244,18 @@ $(addprefix $(objpfx), \ + $(filter-out $(tests-static) $(tests-reverse) unload, \ + $(tests) $(test-srcs))): $(objpfx)libpthread.so \ +$(objpfx)libpthread_nonshared.a +-# $(objpfx)../libc.so is used instead of $(common-objpfx)libc.so, ++# $(objpfx)linklibc.so is used instead of $(common-objpfx)libc.so, + # since otherwise libpthread.so comes before libc.so when linking. + $(addprefix $(objpfx), $(tests-reverse)): \ +- $(objpfx)../libc.so $(objpfx)libpthread.so \ ++ $(objpfx)linklibc.so $(objpfx)libpthread.so \ + $(objpfx)libpthread_nonshared.a + $(objpfx)../libc.so: $(common-objpfx)libc.so ; + $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.so + $(objpfx)unload: $(common-objpfx)dlfcn/libdl.so + $(objpfx)unload.out: $(objpfx)libpthread.so $(objpfx)libpthread_nonshared.a ++$(objpfx)linklibc.so: $(common-objpfx)libc.so ++ ln -s ../libc.so $@ ++generated += libclink.so + else + $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a + $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.a +--- glibc-2.3.2-net/linuxthreads/sysdeps/ia64/tls.h31 Jul 200
r873 - glibc-package/trunk/debian
Author: gotom Date: 2005-04-09 01:23:51 + (Sat, 09 Apr 2005) New Revision: 873 Modified: glibc-package/trunk/debian/changelog Log: Update. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2005-04-09 01:20:11 UTC (rev 872) +++ glibc-package/trunk/debian/changelog2005-04-09 01:23:51 UTC (rev 873) @@ -2,13 +2,21 @@ * GOTO Masanori <[EMAIL PROTECTED]> +- debian/patches/linuxthreads-sizefix.dpatch: Fix ia64 TLS_PRE_TCB_SIZE + alignment where TLS_DTV_AT_TP is defined between linuxthreads and nptl. + It breaks evolution on ia64 linuxthreads ld.so + nptl environment. + (Closes: #292673) + - debian/debhelper.in/libc.manpages: Add tzconfig.8. Reported by Matthijs Mohlmann <[EMAIL PROTECTED]>. (Closes: #182981) -- debian/local/manpages/iconv.1: Escape hyphens for Unicode environments. - Patched by Lars Wirzenius <[EMAIL PROTECTED]>. (Closes: #292013) -- debian/po/pl.po: Add Polish debconf translation. Patched by Emilian - Nowak <[EMAIL PROTECTED]>. (Closes: #29) +- Lars Wirzenius <[EMAIL PROTECTED]>: + - debian/local/manpages/iconv.1: Escape hyphens for Unicode +environments. (Closes: #292013) +- Emilian Nowak <[EMAIL PROTECTED]>: + - debian/po/pl.po: Add Polish debconf translation. (Closes: #29) +- Matti Polla <[EMAIL PROTECTED]>: + - debian/po/fi.po: Add Finnish debconf translation. (Closes: #303816) -- GOTO Masanori <[EMAIL PROTECTED]> Mon, 14 Feb 2005 09:26:26 +0900 @@ -665,7 +673,7 @@ * GOTO Masanori <[EMAIL PROTECTED]> -- debian/po/es.po: Update. Patched by Carlos Valdivia YagÃe +- debian/po/es.po: Update. Patched by Carlos Valdivia YagÃÂe <[EMAIL PROTECTED]>. - debian/debhelper.in/libc.preinst: Replace s/libc6/glibc/ in messages, actually there are not only libc6, but also @@ -1179,7 +1187,7 @@ * GOTO Masanori <[EMAIL PROTECTED]> - debian/po/es.po: Updated Spanish (es) debconf template. - Patched by Carlos Valdivia YagÃe <[EMAIL PROTECTED]>. + Patched by Carlos Valdivia YagÃÂe <[EMAIL PROTECTED]>. - debian/patches/81_glibc232-utimes-fix.dpatch: Fix utimes wrong time calculation. Patched by Paul Eggert <[EMAIL PROTECTED]>. (Closes: #204728, #202243, #205110) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r874 - in glibc-package/trunk/debian: . patches
Author: gotom Date: 2005-04-09 01:33:37 + (Sat, 09 Apr 2005) New Revision: 874 Added: glibc-package/trunk/debian/patches/sched-update.dpatch Modified: glibc-package/trunk/debian/changelog Log: - Bastian Blank <[EMAIL PROTECTED]>: - debian/patches/sched-update.dpatch: Update sched_[gs]et_affinity to new interface and library version. Add GLIBC_2.3.4 versioned symbol for new interface. (Closes: #297769) Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2005-04-09 01:23:51 UTC (rev 873) +++ glibc-package/trunk/debian/changelog2005-04-09 01:33:37 UTC (rev 874) @@ -10,6 +10,10 @@ - debian/debhelper.in/libc.manpages: Add tzconfig.8. Reported by Matthijs Mohlmann <[EMAIL PROTECTED]>. (Closes: #182981) +- Bastian Blank <[EMAIL PROTECTED]>: + - debian/patches/sched-update.dpatch: Update sched_[gs]et_affinity to +new interface and library version. Add GLIBC_2.3.4 versioned symbol +for new interface. (Closes: #297769) - Lars Wirzenius <[EMAIL PROTECTED]>: - debian/local/manpages/iconv.1: Escape hyphens for Unicode environments. (Closes: #292013) Added: glibc-package/trunk/debian/patches/sched-update.dpatch === --- glibc-package/trunk/debian/patches/sched-update.dpatch 2005-04-09 01:23:51 UTC (rev 873) +++ glibc-package/trunk/debian/patches/sched-update.dpatch 2005-04-09 01:33:37 UTC (rev 874) @@ -0,0 +1,252 @@ +#! /bin/sh -e + +# All lines beginning with `# DP:' are a description of the patch. +# DP: Description: Update sched_[gs]et_affinity to new interface and library version. +# DP: Related bugs: #297769 +# DP: Dpatch author: Bastian Blank <[EMAIL PROTECTED]>, GOTO Masanori <[EMAIL PROTECTED]> +# DP: Patch author: Bastian Blank <[EMAIL PROTECTED]> +# DP: Upstream status: In CVS +# DP: Status Details: +# DP: Date: 2005-03-24 + +PATCHLEVEL=0 + +if [ $# -ne 2 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi +case "$1" in +-patch) patch -d "$2" -f --no-backup-if-mismatch -p$PATCHLEVEL < $0;; +-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p$PATCHLEVEL < $0;; +*) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + + +# append the patch here and adjust the -p? flag in the patch calls. +(this changelog is written by gotom) +2005-03-24 Bastian Blank <[EMAIL PROTECTED]> + + * Versions.def: Add GLIBC_2.3.4 symbol for new + sched_{set,get}affinity. + * sysdeps/unix/sysv/linux/Versions: Likewise. + + * posix/sched.h: Update new sched_{set,get}affinity from cvs. + * sysdeps/generic/sched_getaffinity.c: Likewise. + * sysdeps/generic/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. + + +--- Versions.def 2005-03-24 12:47:59.279008144 + Versions.def 2005-03-24 13:53:32.651007992 + +@@ -19,6 +19,7 @@ + GLIBC_2.3.1 + GLIBC_2.3.2 + GLIBC_2.3.3 ++ GLIBC_2.3.4 + %ifdef USE_IN_LIBIO + HURD_CTHREADS_0.3 + %endif +--- posix/sched.h 2005-03-24 12:08:26.376014592 + posix/sched.h 2005-03-24 12:04:15.878891472 + +@@ -73,11 +73,12 @@ + + + /* Set the CPU affinity for a task */ +-extern int sched_setaffinity (__pid_t __pid, __const cpu_set_t *__mask) +- __THROW; ++extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, ++__const cpu_set_t *__cpuset) __THROW; + + /* Get the CPU affinity for a task */ +-extern int sched_getaffinity (__pid_t __pid, cpu_set_t *__mask) __THROW; ++extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, ++cpu_set_t *__cpuset) __THROW; + #endif + + __END_DECLS +--- sysdeps/generic/sched_getaffinity.c2005-03-24 12:08:26.502995288 + sysdeps/generic/sched_getaffinity.c2005-03-24 12:00:21.055915184 + +@@ -1,4 +1,4 @@ +-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. ++/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +@@ -23,8 +23,9 @@ + + /* Retrieve the CPU affinity mask for a particular process. */ + int +-sched_getaffinity (pid, cpuset) ++sched_getaffinity (pid, cpusetsize, cpuset) + pid_t pid; ++ size_t cpusetsize; + cpu_set_t *cpuset; + { + __set_errno (ENOSYS); +--- sysdeps/generic/sched_setaffinity.c2005-03-24 12:08:26.503995136 + sysdeps/generic/sched_setaffinity.c2005-03-24 12:00:23.306972184 + +@@ -1,4 +1,4 @@ +-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. ++/* Copyrigh
r875 - glibc-package/trunk/debian/patches
Author: gotom Date: 2005-04-09 01:34:40 + (Sat, 09 Apr 2005) New Revision: 875 Modified: glibc-package/trunk/debian/patches/00list Log: add sched-update and linuxthreads-sizefix Modified: glibc-package/trunk/debian/patches/00list === --- glibc-package/trunk/debian/patches/00list 2005-04-09 01:33:37 UTC (rev 874) +++ glibc-package/trunk/debian/patches/00list 2005-04-09 01:34:40 UTC (rev 875) @@ -116,3 +116,5 @@ s390-pthread-fpic nptl-pthread-c++ hppa-drop-utimes +linuxthreads-sizefix +sched-update -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r876 - in glibc-package/trunk/debian: . patches
Author: gotom Date: 2005-04-09 03:05:23 + (Sat, 09 Apr 2005) New Revision: 876 Added: glibc-package/trunk/debian/patches/glibc232-sigsetjmp.dpatch Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/00list Log: - debian/patches/glibc232-sigsetjmp.dpatch: Fix gcc-4.0 compilation breakage on amd64. (Closes: #295457) Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2005-04-09 01:34:40 UTC (rev 875) +++ glibc-package/trunk/debian/changelog2005-04-09 03:05:23 UTC (rev 876) @@ -6,7 +6,8 @@ alignment where TLS_DTV_AT_TP is defined between linuxthreads and nptl. It breaks evolution on ia64 linuxthreads ld.so + nptl environment. (Closes: #292673) - +- debian/patches/glibc232-sigsetjmp.dpatch: Fix gcc-4.0 compilation + breakage on amd64. (Closes: #295457) - debian/debhelper.in/libc.manpages: Add tzconfig.8. Reported by Matthijs Mohlmann <[EMAIL PROTECTED]>. (Closes: #182981) Modified: glibc-package/trunk/debian/patches/00list === --- glibc-package/trunk/debian/patches/00list 2005-04-09 01:34:40 UTC (rev 875) +++ glibc-package/trunk/debian/patches/00list 2005-04-09 03:05:23 UTC (rev 876) @@ -118,3 +118,4 @@ hppa-drop-utimes linuxthreads-sizefix sched-update +glibc232-sigsetjmp Added: glibc-package/trunk/debian/patches/glibc232-sigsetjmp.dpatch === --- glibc-package/trunk/debian/patches/glibc232-sigsetjmp.dpatch 2005-04-09 01:34:40 UTC (rev 875) +++ glibc-package/trunk/debian/patches/glibc232-sigsetjmp.dpatch 2005-04-09 03:05:23 UTC (rev 876) @@ -0,0 +1,55 @@ +#! /bin/sh -e + +# All lines beginning with `# DP:' are a description of the patch. +# DP: Description: Fix gcc-4.0 compilation breakage. +# DP: Related bugs: #295457 +# DP: Dpatch author: GOTO Masanori <[EMAIL PROTECTED]> +# DP: Patch author: Richard Henderson <[EMAIL PROTECTED]> +# DP: Upstream status: In CVS +# DP: Status Details: In CVS +# DP: Date: 2005-04-09 + +PATCHLEVEL=0 + +if [ $# -ne 2 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi +case "$1" in +-patch) patch -d "$2" -f --no-backup-if-mismatch -p$PATCHLEVEL < $0;; +-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p$PATCHLEVEL < $0;; +*) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +# append the patch here and adjust the -p? flag in the patch calls. +2005-02-07 Richard Henderson <[EMAIL PROTECTED]> + + * sysdeps/pthread/pthread.h (__sigsetjmp): Use pointer as first + argument. + +Index: nptl/sysdeps/pthread/pthread.h +=== +RCS file: /cvs/glibc/libc/nptl/sysdeps/pthread/pthread.h,v +retrieving revision 1.30 +retrieving revision 1.31 +diff -u -p -r1.30 -r1.31 +--- nptl/sysdeps/pthread/pthread.h 24 Nov 2004 22:55:24 - 1.30 nptl/sysdeps/pthread/pthread.h 8 Feb 2005 08:59:03 - 1.31 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. ++/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +@@ -661,7 +661,7 @@ extern void __pthread_unwind_next (__pth + + /* Function used in the macros. */ + struct __jmp_buf_tag; +-extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW; ++extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROW; + + + /* Mutex handling. */ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]