bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18048] New: None-top-level INCLUDE not properly supported


From: shenhan at google dot com
Subject: [Bug gold/18048] New: None-top-level INCLUDE not properly supported
Date: Fri, 27 Feb 2015 17:28:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18048

            Bug ID: 18048
           Summary: None-top-level INCLUDE not properly supported
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: shenhan at google dot com
                CC: ian at airs dot com

We observed this problem building chromeos , I have a simplified case below - 

file: test.ld
SECTIONS
{
 INCLUDE "test-inc.ld"
}

file: test-inc.ld
.bss . : {
 . = ALIGN(8);
}

When specifying test.ld as linker script, gold errors - 
hdd2/gold64/build/gold/ld-new: error: test-inc.ld:1:6: syntax error, unexpected
STRING
hdd2/gold64/build/gold/ld-new: internal error in place_orphan, at
../../binutils-working/gold/script-sections.cc:3447

Replacing the INCLUDE statement with content from test-inc.ld makes gold happy.

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