bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22846] i686-w64-mingw32 cross linker generates truncated binary


From: despair at rvx86 dot net
Subject: [Bug ld/22846] i686-w64-mingw32 cross linker generates truncated binary image
Date: Fri, 16 Feb 2018 05:35:07 +0000

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

--- Comment #4 from Absolute Despair <despair at rvx86 dot net> ---
It also silently fails when linking executable images:

/* test.c */
#include <stdio.h>

main(argc, argv)
char **argv;
{
    puts("hi bugzilla");
    return 0;
}

compile with:
i686-w64-mingw32-gcc test.c -o test.exe
or
i686-w64-mingw32-clang test.c -o test.exe

(Since Clang is also the system compiler on my platform, I manually renamed the
Clang cross-compiler after building it.)

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