Re: [Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?
Hi Craig, I'm using 2.19 and I still get the same error of : /opt/mingw32/bin/i586-pc-mingw32-windres: icon file `pixmaps/' does not contain icon data Is there a temp fix I can apply to get this working..? 1. Create a patch to fix windres so that it will concatenate string literals. or: 2. Submit a bug report to http://sourceware.org/bugzilla/ describing the problem and including a small test case to reproduce the problem. or: 3. Edit your resource file and perform the string literal concatenation yourself. or: 4. Create a tool in your favourite programming language to pre-process the resources files for you. Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?
--- Additional Comments From nickc at redhat dot com 2009-02-11 14:38 --- Subject: Re: WindRes 2.18 can't concatenate literal strings anymore? Hi Craig, > I'm using 2.19 and I still get the same error of : > > /opt/mingw32/bin/i586-pc-mingw32-windres: icon file `pixmaps/' does not > contain > icon data > > Is there a temp fix I can apply to get this working..? 1. Create a patch to fix windres so that it will concatenate string literals. or: 2. Submit a bug report to http://sourceware.org/bugzilla/ describing the problem and including a small test case to reproduce the problem. or: 3. Edit your resource file and perform the string literal concatenation yourself. or: 4. Create a tool in your favourite programming language to pre-process the resources files for you. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=6714 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?
--- Additional Comments From nickc at redhat dot com 2009-02-11 14:40 --- Doh! Please ignore suggestion 2. I had completely blanked on this already being in bugzilla. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6714 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?
--- Additional Comments From nickc at redhat dot com 2009-02-11 14:53 --- Hi Craig, I think that you are going to have to post another test case to demonstrate the problem that you are having. I tried the following: % cat fred.inc #define VALUE_AS_TXT "15" % cat fred.rc #include "fred.inc" 101 DIALOG DISCARDABLE 0, 0, 186, 95 BEGIN LTEXT "Value: " VALUE_AS_TXT, -1, 7, 238, 100, 16 LTEXT "Value: " "16", -1, 7, 238, 100, 16 LTEXT "Value: 17",-1, 7, 238, 100, 16 END And got this result: % windres fred.rc LANGUAGE 9, 1 101 DIALOG MOVEABLE PURE DISCARDABLE 0, 0, 186, 95 STYLE 0x8088 BEGIN LTEXT "Value: 15", -1, 7, 238, 100, 16, 0x5002 LTEXT "Value: 16", -1, 7, 238, 100, 16, 0x5002 LTEXT "Value: 17", -1, 7, 238, 100, 16, 0x5002 END So string literal concatenation is working. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=6714 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/9827] -q option cause assertion fail
--- Additional Comments From nickc at redhat dot com 2009-02-11 15:35 --- Created an attachment (id=3732) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3732&action=view) If the header size has not been set yet then assume that it will match the output section's reloc type. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9827 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/9827] -q option cause assertion fail
--- Additional Comments From nickc at redhat dot com 2009-02-11 15:35 --- Hi Jie, Please could you try out the uploaded patch and let me know if it works for you ? Cheers Nick -- What|Removed |Added Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=9827 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/9836] New: wrong visibility in shared objects
The file null.cpp is empty. Using GNU ld (GNU Binutils for Ubuntu) 2.19.1: $ g++ -shared null.cpp -o null.so && nm null.so | grep __dso_handle 00201008 d __dso_handle Note that __dso_handle is an internal symbol. Using GNU gold (GNU Binutils 2.19.51.20090211) 1.9: $ g++ -shared null.cpp -o null.so && nm null.so | grep __dso_handle 2000 D __dso_handle Note that __dso_handle is an external symbol. This testcase is reduced from the LLVM compiler which fails to build when linked with gold and configured with --enable-pic, because it thinks there are circular library dependencies. The reason for that is that in the shared libraries a bunch of symbols are external when linked with gold but internal with the usual ld. These symbols confuse the script that checks for circular dependencies. -- Summary: wrong visibility in shared objects Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: baldrick at free dot fr CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=9836 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/9827] -q option cause assertion fail
--- Additional Comments From jzhang918 at gmail dot com 2009-02-12 01:55 --- (In reply to comment #2) > Please could you try out the uploaded patch and let me know if it works for you ? > It works for me. Thanks, Nick! Jie -- http://sourceware.org/bugzilla/show_bug.cgi?id=9827 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils