CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    How do I submit a gcc bug?

    So, I managed to make gcc 4.5.0 choke, probably on my use of decltype. I got this nice message:

    g++: Internal error: Segmentation fault (program cc1plus)
    Please submit a full bug report.
    See <http://gcc.gnu.org/bugs.html> for instructions.

    I checked out that page, and generated the preprocessed files and dumped the build output to a file, all as they asked.

    But now I'm trying to figure out how to actually submit the thing.....and I have no idea.

    They mention two options: Submit it directly to bugzilla, or use the gccbug script.

    Well, Bugzilla's submission form does not seem to contain a method to attach a file, so that's pretty useless. And if there's any documentation at all for gccbug, I haven't been able to find it.

    Anyone here know the process?

  2. #2
    Join Date
    Jan 2004
    Location
    Düsseldorf, Germany
    Posts
    2,401

    Re: How do I submit a gcc bug?

    In Bugzilla you certainly can attach files. It might be that you first need to submit the report though.

    Check some of the existing bugs: There's a "Create a new attachment" link.

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
    More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf

    Premature optimization is the root of all evil --Donald E. Knuth


    Please read Information on posting before posting, especially the info on using [code] tags.

  3. #3
    Join Date
    Jun 2009
    Location
    France
    Posts
    2,513

    Re: How do I submit a gcc bug?

    So, did you submit it?

    Can you provide a bug number or link, for those most curious.
    Is your question related to IO?
    Read this C++ FAQ article at parashift by Marshall Cline. In particular points 1-6.
    It will explain how to correctly deal with IO, how to validate input, and why you shouldn't count on "while(!in.eof())". And it always makes for excellent reading.

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: How do I submit a gcc bug?

    Quote Originally Posted by treuss View Post
    In Bugzilla you certainly can attach files. It might be that you first need to submit the report though.

    Check some of the existing bugs: There's a "Create a new attachment" link.

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
    Thanks, I'll try that. However, I'm not sure what they want in the "Host triplet", "Target triplet", and "Build triplet" fields of the creation form. Any insight?

    Can you provide a bug number or link, for those most curious.
    I will when it's in. It appears to be a problem using a typedefed decltype in a lambda expression, judging by my stripped-down test case.

  5. #5
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: How do I submit a gcc bug?

    Hmm, I suspect it wants x86_64-linux-unknown-gnu for all three.

    Bug #44366.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured