http://sourceware.org/bugzilla/show_bug.cgi?id=14592

             Bug #: 14592
           Summary: gold segfaults with internal error in set_address
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: raj.k...@gmail.com
                CC: ccout...@google.com
    Classification: Unclassified


gold is segfaulting on ARM using following set up

foo.S

_start:


foo.ld

SECTIONS {
        .stack (NOLOAD) : {
               . = ALIGN(8);
        }
}


$ ./gas/as-new -o foo.o foo.S
$ ./gold/ld-new -T foo.ld foo.o

./gold/ld-new: internal error in set_address, at
/home/kraj/work/binutils/gold/output.h:189

I first saw it on 2.22 branch and it is triggered after this commit

commit 624da0376264205e399bc14fe2fa7b6fa659d0ee
Author: Ian Lance Taylor <i...@airs.com>
Date:   Mon Dec 19 21:14:39 2011 +0000

        Copy from mainline to binutils 2.22 branch:


This also happens on trunk


./gold/ld-new --version
GNU gold (GNU Binutils 2.23.51.20120917) 1.11
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to