Bug#369453: Status
On Sat, Jun 12, 2010 at 04:15:54AM +, Clint Adams wrote: On Fri, Jun 11, 2010 at 08:06:33PM -0700, Herman Swartz wrote: Hello, I also have an application that uses get, set, swap user context functions. What it boils down to is that someone needs to write this in ARM assembly language, and that no one has yet. I don't know offhand how best that can be rectified. Given these functions have been removed in POSIX 2008, they should probably be avoided. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612071801.ge21...@hall.aurel32.net
Bug#583858: (no subject)
On Sat, Jun 12, 2010 at 01:38:45AM +0200, André Wöbbeking wrote: I probably have the same problem: running Sid x86_64 I updated to eglibc 2.11.1-3 (from 2.10.2-9) and apps are crashing. E.g. I tried to build Qt 4.6.3 and qmake is crashing while configuring. cat /proc/cpuinfo: model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz I really doubt it's the same problem. The reported bug only affected x86_64 users running on Core i7. Does only Qt related applications crashes or also other applications? gcc -v: gcc version 4.4.4 (Debian 4.4.4-4) gdb qmake: (gdb) r Starting program: qmake Program received signal SIGSEGV, Segmentation fault. 0x0072a060 in strlen () (gdb) where #0 0x0072a060 in strlen () #1 0x0045b4ba in qstrlen(char const*) () #2 0x00594f47 in QString::fromLatin1_helper(char const*, int) () #3 0x005950c8 in QString::fromAscii_helper(char const*, int) () #4 0x005951c5 in QString::fromAscii(char const*, int) () #5 0x00420b61 in QString::operator=(char const*) () #6 0x00549ca5 in VCCustomBuildTool::VCCustomBuildTool() () #7 0x0054c894 in VCFilter::VCFilter() () #8 0x00553539 in __static_initialization_and_destruction_0 () #9 0x00553565 in global constructors keyed to _ZN16VCCLCompilerToolC2Ev () #10 0x00654d76 in __do_global_ctors_aux () #11 0x006b664b in _init () #12 0x77dc2c50 in ?? () from /usr/lib/libstdc++.so.6 #13 0x00654cd5 in __libc_csu_init () #14 0x772f0be0 in __libc_start_main (main=value optimized out, argc=value optimized out, ubp_av=value optimized out, init=0x654c90 __libc_csu_init, fini=0x7762e300 initial, rtld_fini=0x77dc2420 typeinfo for std::locale::facet, stack_end=0x7fffe0b8) at libc-start.c:187 #15 0x00402779 in _start () Could you try to install libc6-dbg and do the backtrace again? -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612072027.gf21...@hall.aurel32.net
Bug#583858: (no subject)
On Saturday 12 June 2010, you wrote: I really doubt it's the same problem. The reported bug only affected x86_64 users running on Core i7. I can only tell you that I also had tried 2.11.1-1 before and had the same problem. And downgrading eglibc helped. Does only Qt related applications crashes or also other applications? I only saw Qt related applications crash but I don't know if other apps are affected too. BTW, not all Qt apps crash only some. (gdb) where #0 0x0072a060 in strlen () #1 0x0045b4ba in qstrlen(char const*) () #2 0x00594f47 in QString::fromLatin1_helper(char const*, int) () #3 0x005950c8 in QString::fromAscii_helper(char const*, int) () #4 0x005951c5 in QString::fromAscii(char const*, int) () #5 0x00420b61 in QString::operator=(char const*) () #6 0x00549ca5 in VCCustomBuildTool::VCCustomBuildTool() () #7 0x0054c894 in VCFilter::VCFilter() () #8 0x00553539 in __static_initialization_and_destruction_0 () #9 0x00553565 in global constructors keyed to _ZN16VCCLCompilerToolC2Ev () #10 0x00654d76 in __do_global_ctors_aux () #11 0x006b664b in _init () #12 0x77dc2c50 in ?? () from /usr/lib/libstdc++.so.6 #13 0x00654cd5 in __libc_csu_init () #14 0x772f0be0 in __libc_start_main (main=value optimized out, argc=value optimized out, ubp_av=value optimized out, init=0x654c90 __libc_csu_init, fini=0x7762e300 initial, rtld_fini=0x77dc2420 typeinfo for std::locale::facet, stack_end=0x7fffe0b8) at libc-start.c:187 #15 0x00402779 in _start () Could you try to install libc6-dbg and do the backtrace again? Err, this is with libc6-dbg installed. The initialisation of static variables seems to be the problem. Is it done at a different time in 2.11? -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201006121144.43908.woebbek...@web.de
Bug#583858: (no subject)
On Sat, Jun 12, 2010 at 11:44:43AM +0200, André Wöbbeking wrote: On Saturday 12 June 2010, you wrote: I really doubt it's the same problem. The reported bug only affected x86_64 users running on Core i7. I can only tell you that I also had tried 2.11.1-1 before and had the same problem. And downgrading eglibc helped. Does only Qt related applications crashes or also other applications? I only saw Qt related applications crash but I don't know if other apps are affected too. BTW, not all Qt apps crash only some. You mentionned rebuilding Qt 4. Does it happen with binaries you have rebuilt yourself, or at least that link to libraries you have rebuilt yourself? If yes, make sure you don't have binutils-gold installed, as it is currently broken with eglibc 2.11 (see bug#585051). Note that the bug is fixed in the version currently in experimental. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612100425.gv21...@hall.aurel32.net
Bug#583858: (no subject)
On Sat, Jun 12, 2010 at 12:01:45PM +0200, André Wöbbeking wrote: On Saturday 12 June 2010, André Wöbbeking wrote: On Saturday 12 June 2010, you wrote: I really doubt it's the same problem. The reported bug only affected x86_64 users running on Core i7. I can only tell you that I also had tried 2.11.1-1 before and had the same problem. And downgrading eglibc helped. I forgot to mention: after downgrading eglibc I wanted to start Qt apps compiled with eglibs 2.11 without recompile but the system complained about different sizes of strlen() and related functions (sorry, I can't remember the exact message). Does this mean that 2.11 isn't binary compatible? Ok, this means that you are compiling with binutils-gold, which produce broken binaries, hence this message. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612100519.gw21...@hall.aurel32.net
Bug#583858: (no subject)
On Saturday 12 June 2010, André Wöbbeking wrote: On Saturday 12 June 2010, you wrote: I really doubt it's the same problem. The reported bug only affected x86_64 users running on Core i7. I can only tell you that I also had tried 2.11.1-1 before and had the same problem. And downgrading eglibc helped. I forgot to mention: after downgrading eglibc I wanted to start Qt apps compiled with eglibs 2.11 without recompile but the system complained about different sizes of strlen() and related functions (sorry, I can't remember the exact message). Does this mean that 2.11 isn't binary compatible? -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201006121201.46307.woebbek...@web.de
Bug#369453: Bug 369453 User Context Switching
Then, since these functions were removed from Posix 2008, should the support of these same functions be removed for all the other platforms? Herman -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/846179.49536...@web51801.mail.re2.yahoo.com
Bug#583858: (no subject)
On Saturday 12 June 2010, Aurelien Jarno wrote: You mentionned rebuilding Qt 4. Does it happen with binaries you have rebuilt yourself, or at least that link to libraries you have rebuilt yourself? Yes If yes, make sure you don't have binutils-gold installed, as it is currently broken with eglibc 2.11 (see bug#585051). Thanks for the pointer! Removing gold solves my problem :-) Note that the bug is fixed in the version currently in experimental. Good to know. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201006121506.28599.woebbek...@web.de
Re: Bug#585051: (no subject)
On 12.06.2010 15:19, André Wöbbeking wrote: I can confirm this also for C++ programs. It's an interaction of eglibc 2.11 and gold. eglibc 2.10 and gold work together and eglibc 2.11 without gold also works. no, it's not 2.11, but 2.11 glibc built --with-multi-arch. Would the glibc maintainers consider to disable this configure option? 2.11 doesn't contain any optimized functions, only 2.12 starts providing these for some architectures. Matthias -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c138f89.4000...@debian.org
Re: Bug#585051: (no subject)
On Sat, Jun 12, 2010 at 03:45:45PM +0200, Matthias Klose wrote: On 12.06.2010 15:19, André Wöbbeking wrote: I can confirm this also for C++ programs. It's an interaction of eglibc 2.11 and gold. eglibc 2.10 and gold work together and eglibc 2.11 without gold also works. no, it's not 2.11, but 2.11 glibc built --with-multi-arch. Would the I confirm. glibc maintainers consider to disable this configure option? 2.11 doesn't contain any optimized functions, only 2.12 starts providing these for some architectures. That's wrong, it does contain some optimized functions (otherwise you won't have seen this bug). Here is the list: - strcasestr - strcpy - rawmemchr - strncmp - strrchr - stpncpy - strncpy - strpbrk - strspn - stpncpy - strlen - strstr - strcspn - strchr - rindex - stpcpy - strcasestr - rawmemchr - strcmp - stpcpy Moreover we can also backport the optimized functions that have been added in 2.12, but the current goal is to move 2.11 to squeeze, so it will be for later. All that said, I don't plan to disable --with-multi-arch. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612143921.gy21...@hall.aurel32.net
Bug#369453: Bug 369453 User Context Switching
On Sat, Jun 12, 2010 at 03:54:05AM -0700, Herman Swartz wrote: Then, since these functions were removed from Posix 2008, should the support of these same functions be removed for all the other platforms? No, we can't break the ABI, so they will stay (almost) forever. But it means that it probably won't be supported by new architectures or new operating systems and become less and less portable. That's why they should be avoided. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100612144031.gz21...@hall.aurel32.net
Re: Bug#585051: (no subject)
On Saturday 12 June 2010, Aurelien Jarno wrote: Moreover we can also backport the optimized functions that have been added in 2.12, but the current goal is to move 2.11 to squeeze, so it will be for later. All that said, I don't plan to disable --with-multi-arch. Aurelien, you mentioned in 583858 that binutils.gold is fixed in experimental (or doesn't trigger this bug). Matthias, could you backport that to Sid? -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201006121900.51597.woebbek...@web.de
Re: Bug#585051: (no subject)
On 12.06.2010 19:00, André Wöbbeking wrote: On Saturday 12 June 2010, Aurelien Jarno wrote: Moreover we can also backport the optimized functions that have been added in 2.12, but the current goal is to move 2.11 to squeeze, so it will be for later. All that said, I don't plan to disable --with-multi-arch. Aurelien, you mentioned in 583858 that binutils.gold is fixed in experimental (or doesn't trigger this bug). Matthias, could you backport that to Sid? I assume that the experimental binutils.gold was tested with glibc 2.10. No, I don't think a backport would be helpful. Matthias -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c13d631.6020...@debian.org