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: Thu, 08 Mar 2018 18:59:07 +0000

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

--- Comment #7 from Absolute Despair <despair at rvx86 dot net> ---
Using built-in specs.
COLLECT_GCC=i686-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/lto-wrapper
Target: i686-w64-mingw32
Configured with: ../gcc-7.2.0/configure --target=i686-w64-mingw32
--disable-multilib --prefix=/home/despair/mingw32
--with-sysroot=/home/despair/mingw32 --enable-targets=all --enable-shared
--enable-static --enable-languages=c,c++,fortran,lto
--enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp
--enable-libatomic --enable-lto --enable-graphite --enable-checking=release
--enable-fully-dynamic-string --enable-version-specific-runtime-libs
--enable-libstdcxx-filesystem-ts=yes --enable-sjlj-exceptions
--disable-libstdcxx-pch --disable-libstdcxx-debug --disable-bootstrap
--disable-win32-registry --disable-rpath --disable-nls --disable-werror
--disable-symvers --with-arch-32=i686 --with-arch-64=opteron
--with-tune32=generic --with-tune-64=core2 --with-system-zlib
--with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
--with-isl=/usr/local --with-pkgversion='i686-win32-sjlj-rev2, Built by Rick V.
for DMS Studios' --with-bugurl=https://bug-grill.rvx86.net
--with-diagnostics-color=always CC=cc CXX=c++ CFLAGS='-Ofast -march=native
-mfpmath=sse -fPIC -fno-stack-protector' CXXFLAGS='-Ofast -march=native
-mfpmath=sse -fPIC -fno-stack-protector'
Thread model: win32
gcc version 7.2.0 (i686-win32-sjlj-rev2, Built by Rick V. for DMS Studios) 
COLLECT_GCC_OPTIONS='-v' '-shared' '-Os' '-o' 'test.dll' '-mtune=generic'
'-march=i686'
 /home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/cc1 -quiet -v
-U_REENTRANT test.c -quiet -dumpbase test.c -mtune=generic -march=i686 -auxbase
test -Os -version -o /tmp//ccbMz3Uf.s
GNU C11 (i686-win32-sjlj-rev2, Built by Rick V. for DMS Studios) version 7.2.0
(i686-w64-mingw32)
        compiled by GNU C version 4.2.1 Compatible OpenBSD Clang 5.0.1
(tags/RELEASE_501/final), GMP version 6.1.2, MPFR version 3.1.5-p2, MPC version
0.9, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/home/despair/mingw32/usr/local/include"
ignoring duplicate directory "/home/despair/mingw32/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include
 /home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include-fixed

/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/include
End of search list.
GNU C11 (i686-win32-sjlj-rev2, Built by Rick V. for DMS Studios) version 7.2.0
(i686-w64-mingw32)
        compiled by GNU C version 4.2.1 Compatible OpenBSD Clang 5.0.1
(tags/RELEASE_501/final), GMP version 6.1.2, MPFR version 3.1.5-p2, MPC version
0.9, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: acc20780a3d1620b21b49ec3e5eaf928
COLLECT_GCC_OPTIONS='-v' '-shared' '-Os' '-o' 'test.dll' '-mtune=generic'
'-march=i686'

/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/bin/as
-v -o /tmp//cc37ik15.o /tmp//ccbMz3Uf.s
GNU assembler version 2.30 (i686-w64-mingw32) using BFD version (GNU Binutils)
2.30
COMPILER_PATH=/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/:/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/:/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/:/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/:/home/despair/mingw32/lib/gcc/i686-w64-mingw32/:/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/bin/
LIBRARY_PATH=/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/:/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/lib/../lib/:/home/despair/mingw32/mingw/lib/../lib/:/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/lib/:/home/despair/mingw32/mingw/lib/
COLLECT_GCC_OPTIONS='-v' '-shared' '-Os' '-o' 'test.dll' '-mtune=generic'
'-march=i686'
 /home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/collect2 -plugin
/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/liblto_plugin.so
-plugin-opt=/home/despair/mingw32/libexec/gcc/i686-w64-mingw32/7.2.0/lto-wrapper
-plugin-opt=-fresolution=/tmp//ccd5RtbF.res -plugin-opt=-pass-through=-lmingw32
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex
-plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-ladvapi32
-plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32
-plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex
-plugin-opt=-pass-through=-lmsvcrt --sysroot=/home/despair/mingw32 -m i386pe
--shared -Bdynamic -e address@hidden --enable-auto-image-base -o
test.dll
/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o
/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/crtbegin.o
-L/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0
-L/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/lib/../lib
-L/home/despair/mingw32/mingw/lib/../lib
-L/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/lib
-L/home/despair/mingw32/mingw/lib /tmp//cc37ik15.o -lmingw32 -lgcc_s -lgcc
-lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt
/home/despair/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/crtend.o
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
zero vma section reloc detected: `.text' #0 f=283
COLLECT_GCC_OPTIONS='-v' '-shared' '-Os' '-o' 'test.dll' '-mtune=generic'
'-march=i686'

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