<div dir="ltr">could be! i'm not equipped to do the right debuggin atm though (i may try to help out if can get some guidance though )</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 4:55 PM, Karel Gardas <span dir="ltr"><<a href="mailto:karel.gardas@centrum.cz" target="_blank">karel.gardas@centrum.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Indeed, but this looks like completely unrelated to the issue originally reported. Kind of libffi misdetection of target platform? i.e. why it compiles win32 related file on macosx?<br>
<br>
Just trying to categorize not to decrease importance of this issue!<br>
<br>
Karel<span class=""><br>
<br>
On 10/10/14 10:47 PM, Carter Schonwald wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
likewise, 32bit OS X seems to be broken on HEAD too<br>
<br>
<a href="http://lpaste.net/112412" target="_blank">http://lpaste.net/112412</a> is the relevant bit<br>
<br>
make[5]: Nothing to be done for `all'.<br>
depbase=`echo src/x86/win32.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`<u></u>;\<br>
/bin/sh ./libtool --mode=compile gcc-4.9 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -U__i686 -m32 -fno-stack-protector -w -MT src/x86/win32.lo -MMD -MP -MF $depbase.Tpo -c -o src/x86/win32.lo ../src/x86/win32.S&&\<br>
mv -f $depbase.Tpo $depbase.Plo<br>
libtool: compile: gcc-4.9 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -U__i686 -m32 -fno-stack-protector -w -MT src/x86/win32.lo -MMD -MP -MF src/x86/.deps/win32.Tpo -c ../src/x86/win32.S -fno-common -DPIC -o src/x86/.libs/win32.o<br>
../src/x86/win32.S:1283:<u></u>section difference relocatable subtraction expression, ".LFE5" minus ".LFB5" using a symbol at the end of section will not produce an assembly time constant<br>
../src/x86/win32.S:1283:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = .LFE5 - .LFB5<br>
../src/x86/win32.S:1275:<u></u>section difference relocatable subtraction expression, ".LEFDE5" minus ".LASFDE5" using a symbol at the end of section will not produce an assembly time constant<br>
../src/x86/win32.S:1275:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = .LEFDE5 - .LASFDE5<br>
../src/x86/win32.S:unknown:<u></u>missing indirect symbols for section (__IMPORT,__jump_table)<br>
make[5]: *** [src/x86/win32.lo] Error 1<br>
<br>
<br>
On Fri, Oct 10, 2014 at 9:40 AM, Páli Gábor János <<a href="mailto:pali.gabor@gmail.com" target="_blank">pali.gabor@gmail.com</a><br></span><span class="">
<mailto:<a href="mailto:pali.gabor@gmail.com" target="_blank">pali.gabor@gmail.com</a>>> wrote:<br>
<br>
2014-10-10 13:30 GMT+02:00 cg <<a href="mailto:chengang31@gmail.com" target="_blank">chengang31@gmail.com</a><br></span>
<mailto:<a href="mailto:chengang31@gmail.com" target="_blank">chengang31@gmail.com</a>>><u></u>:<span class=""><br>
> How can I configure to build x86_64?<br>
><br>
> When I build GHC (with msys2), it always builds i386 and I haven't<br>
spotted<br>
> the option in ./configure to choose a x86_64 release.<br>
<br>
This is implicitly determined by the toolchain you use. So, probably<br>
you have the i686 msys2 installed, while you would need the x86_64<br>
version. Given, that your operating system (and thus your hardware)<br>
is also x86_64.<br>
______________________________<u></u>_________________<br>
ghc-devs mailing list<br></span>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a> <mailto:<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/ghc-devs</a><span class=""><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/ghc-devs</a><br>
</span></blockquote>
<br>
</blockquote></div><br></div>