Menu

#1 Segmentation fault with static lib on FC4 and gcc 4.0.0-8

v1.0_(example)
open
nobody
5
2005-07-13
2005-07-13
Anonymous
No

I have built QpThread version 1.3.2 on Fedora Core 4
using gcc version 4.0.0-8 (the default compiler for
Fedora Core 4) and I'm getting segmentation faults
when building the examples and linking with the static
library libqpthr.a. All the examples seem to seg fault so
I'm wondering if there is some static variable
initiailization issue.

Any ideas?
Thanks in advance
brad

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Works fine with this compiler:
    g++ (GCC) 4.0.1 (Debian 4.0.1-2)

     
  • Marc Wäckerlin

    Marc Wäckerlin - 2006-05-16

    Logged In: YES
    user_id=638968

    Also fine with:

    gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)

    I suppose, there is something broken in your constellation.
    Do you have also trouble with other libraries on your
    system, or can anybody else reproduce the problem? It would
    be nice, if someone could provide more information.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.