[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4068] New: segfault (C++ source file has large template)

From: cpp at tempest-sw dot com
Subject: [Bug ld/4068] New: segfault (C++ source file has large template)
Date: 18 Feb 2007 21:53:10 -0000

When compiling the attached file, ld gets a segmentation fault. If I make the 
template smaller or make a few other minor changes to the template (such as 
changing the default template argument from Null to int), I do not get a 

I am using stock binutils (2.17) and gcc (4.1.2) on Suse 10.0, Athlon XP 3000.

$ g++4 bug.cpp
collect2: ld terminated with signal 11 [Segmentation fault]
$ ld --version
GNU ld version 2.17
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

           Summary: segfault (C++ source file has large template)
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: cpp at tempest-sw dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]