public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/7429: SEGV in linuxthreads with gcc 3.1.1 and omit-fp or -O3
@ 2002-12-06 13:42 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-12-06 13:42 UTC (permalink / raw)
  To: Thorsten, gcc-bugs, gcc-prs, nobody

Synopsis: SEGV in linuxthreads with gcc 3.1.1 and omit-fp or -O3

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Dec  6 13:42:04 2002
State-Changed-Why:
    I'm sorry, but this report is too unspecific. You have to
    come up with something more reproducible than rebuilding
    linuxthreads, glibc and fileutils. Try to narrow it down
    and see whether you can come up with a single file that
    is miscompiled.
    
    Sorry
      Wolfgang

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7429


^ permalink raw reply	[flat|nested] 2+ messages in thread

* optimization/7429: SEGV in linuxthreads with gcc 3.1.1 and omit-fp or -O3
@ 2002-07-29  3:36 Thorsten
  0 siblings, 0 replies; 2+ messages in thread
From: Thorsten @ 2002-07-29  3:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7429
>Category:       optimization
>Synopsis:       SEGV in linuxthreads with gcc 3.1.1 and omit-fp or -O3
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 29 03:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thorsten@meinl.bnv-bamberg.de
>Release:        gcc 3.1.1
>Organization:
>Environment:
Linux 2.4.18, glibc 2.2.5, gcc 3.1.1, Athlon XP 1800+
>Description:
When compiling linuxthreads with omit-fp or optimization level > -O2 applications linked against it segfault, e.g. ls from fileutils. I tracked down the error place to __errno_location (it happens for example when you call opendir). When you do not link against it everything works fine with all optimization levels. Also statical linkage works.
Also the test ex1 for linuxthreads does not work (but this may be another problem).
>How-To-Repeat:
Compile glibc-2.2.5 + linuxthreads with "-O3 -fomit-frame-pointer -march=athlon -pipe" and afterwards fileutils. ls will the segfault in __errno_location.
Or use opendir in any program and link it dynamically against pthreads.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-06 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06 13:42 optimization/7429: SEGV in linuxthreads with gcc 3.1.1 and omit-fp or -O3 bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-07-29  3:36 Thorsten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).