[ANNOUNCEMENT] Updated: gcc-4.8.3-1 (x86/x86_64)

Chris J. Breisch chris.ml@breisch.org
Wed May 28 22:20:00 GMT 2014


Ken Brown wrote:
> On 5/28/2014 1:13 PM, Chris J. Breisch wrote:
>> JonY wrote:
>>> gcc-4.8.3-1 is now uploaded for both 32-bit and 64-bit Cygwin. This
>>> includes a patch to automatically link in the default manifest for
>>> executable files.
>>>
>>> Known issues:
>>> Cygwin 64-bit gcc-4.8.3-1 debuginfo package is missing and was not
>>> generated by cygport, I am still investigating this.
>>
>> There seems to be a problem, at least on my machine:
>>
>> $ g++
>> -bash: /usr/bin/g++: cannot execute binary file
>> $ which g++
>> /usr/bin/g++
>> $ /usr/bin/g++
>> -bash: /usr/bin/g++: cannot execute binary file
>> $ file /usr/bin/g++
>> /usr/bin/g++: PE32+ executable (console) x86-64 (stripped to external
>> PDB), for MS Windows
>> $ ldd /usr/bin/g++
>> ldd: /usr/bin/g++: Exec format error
>> $ ldd /usr/bin/g++.exe
>> ldd: /usr/bin/g++.exe: Exec format error
>
> This might be a result of the binutils problem that I reported here:
>
> https://cygwin.com/ml/cygwin/2014-04/msg00199.html
>
> Ken
>

Yes, the behavior looks exactly like what you described there.

$ objdump -j .rsrc -s /usr/bin/g++.exe

/usr/bin/g++.exe:     file format pei-x86-64

Contents of section .rsrc:
objdump: Reading section failed


-- 
Chris J. Breisch

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list