|
From: | d.g.gorbachev at gmail dot com |
Subject: | [Bug binutils/12288] New: No newline at the end of diagnostic messages in ld/plugin.c and bfd/plugin.c |
Date: | Sun, 5 Dec 2010 10:23:33 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12288 Summary: No newline at the end of diagnostic messages in ld/plugin.c and bfd/plugin.c Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: minor Priority: P2 Component: binutils AssignedTo: address@hidden ReportedBy: address@hidden ===== 1.c ===== int main(void) { return 0; } =============== ===== 2.c ===== int main; =============== $ gcc -flto -fuse-linker-plugin 1.c 2.c With ld.bfd: 2.c:1:5: error: function 'main' redeclared as variable 1.c:1:5: note: previously declared here 2.c:1:5: warning: type of 'main' does not match original declaration [enabled by default] 1.c:1:5: note: previously declared here lto1: fatal error: errors during merging of translation units compilation terminated. lto-wrapper: gcc returned 1 exit status lto-wrapper failedcollect2: ld returned 1 exit status With ld.gold: 2.c:1:5: error: function 'main' redeclared as variable 1.c:1:5: note: previously declared here 2.c:1:5: warning: type of 'main' does not match original declaration [enabled by default] 1.c:1:5: note: previously declared here lto1: fatal error: errors during merging of translation units compilation terminated. lto-wrapper: gcc returned 1 exit status /usr/local/bin/ld: fatal error: lto-wrapper failed collect2: ld returned 1 exit status -- 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.
[Prev in Thread] | Current Thread | [Next in Thread] |