bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12507] New: Can't build a program with -flto -nostdlib


From: d.g.gorbachev at gmail dot com
Subject: [Bug ld/12507] New: Can't build a program with -flto -nostdlib
Date: Wed, 23 Feb 2011 06:50:58 +0000

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

           Summary: Can't build a program with -flto -nostdlib
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


$ cat > prog.c
void _start(void) { }
^D

$ gcc-4.6 -flto -nostdlib prog.c

Works with ld.gold, does not work with ld.bfd or ld.hjl. GOLD marks _start as
PREVAILING_DEF, BFD LD as PREVAILING_DEF_IRONLY.

-- 
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.



reply via email to

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