Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-15 Thread Stephen Kitt
On Sun, 15 May 2016 11:18:51 +0800, JonY wrote: > On 5/14/2016 21:35, Stephen Kitt wrote: > > Like all linker flags, this is handled by binutils rather than gcc. > > Currently the PE linker in binutils doesn't support the > > --unresolved-symbols option. > > Not even that, the PE specs do not sup

Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-14 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 5/14/2016 21:35, Stephen Kitt wrote: > > Like all linker flags, this is handled by binutils rather than gcc. > Currently the PE linker in binutils doesn't support the > --unresolved-symbols option. > Not even that, the PE specs do not support u

Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-14 Thread Stephen Kitt
Hi, On Tue, 10 May 2016 11:57:33 -0400, Tamir Duberstein wrote: > I've been attempting to cross-compile CockroachDB to Windows using > mingw-w64. The compilation strategy used for CockroachDB involves > producing static archives with missing symbols (this is due to how > golang's tooling compiles

Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-12 Thread Tamir Duberstein
Hi lh_mouse, Thanks for your reply. Unfortunately, in this case I don't have full control of the toolchain (because I'm compiling using the golang toolchain). In any case, using clang/gcc as a linker is quite common; that's why `-Wl` exists as a flag to those tools. Does anyone have any insight

Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-10 Thread lh mouse
lh_mouse 2016-05-11 - 发件人:Tamir Duberstein 发送日期:2016-05-10 23:57 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] ignoring missing symbols doesn't seem to work Hello! I've been attempting to cross-compile CockroachDB t

[Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-10 Thread Tamir Duberstein
Hello! I've been attempting to cross-compile CockroachDB to Windows using mingw-w64. The compilation strategy used for CockroachDB involves producing static archives with missing symbols (this is due to how golang's tooling compiles c/c++ code). In our linux builds, we pass `-Wl,--unresolved-symb