Unable to build x64 on OSX Snow Leopard using GYP

107 views
Skip to first unread message

Charles Lowell

unread,
May 11, 2012, 2:55:06 AM5/11/12
to v8-users
All,

Building master fails for me using the following command sequence:

make dependencies
make x64.release

It bombs out when compiling test-assembler-x64.cc with the error you
can see here: https://gist.github.com/2657957

The libraries themselves compile, but when I try to link against
libv8_base.a and libv8_snapshot.a, I get the following error:


ld: warning: ignoring file /Users/cowboyd/vendor/v8/out/x64.release/
libv8_base.a, file was built for archive which is not the architecture
being linked (x86_64)
ld: warning: ignoring file /Users/cowboyd/vendor/v8/out/x64.release/
libv8_snapshot.a, file was built for archive which is not the
architecture being linked (x86_64)


I see the commit detailed here https://chromiumcodereview.appspot.com/9808065
on master, but still can't actually get it to build. Any help greatly
appreciated, including pointers or where I should look to fix it
myself.

cheers,
Charles

Jakob Kummerow

unread,
May 11, 2012, 4:11:27 AM5/11/12
to v8-u...@googlegroups.com
Thanks for the report.

This is broken for me too. You should be able to work around it as follows:

make x64.release -Dhost_arch=x64

I'll land a proper fix as soon as I can.

Charles Lowell

unread,
May 11, 2012, 10:31:29 AM5/11/12
to v8-users
Jakob,

Thanks for the reply. That worked! ...almost, I actually had to tweak
it a little bit to:

make x64.release GYPFLAGS="-Dhost_arch=x64"

since it appears that make does not understand the -D option.

thanks again for sorting me out.

cheers,
Charles

On May 11, 3:11 am, Jakob Kummerow <jkumme...@chromium.org> wrote:
> Thanks for the report.
>
> This is broken for me too. You should be able to work around it as follows:
>
> make x64.release -Dhost_arch=x64
>
> I'll land a proper fix as soon as I can.
>

Jakob Kummerow

unread,
May 11, 2012, 11:03:57 AM5/11/12
to v8-u...@googlegroups.com
On Fri, May 11, 2012 at 4:31 PM, Charles Lowell <cow...@thefrontside.net> wrote:
I actually had to tweak it a little bit to:

make x64.release GYPFLAGS="-Dhost_arch=x64"

since it appears that make does not understand the -D option.

Of course, that's what I actually meant :-)

The fix is in r11547.

Reply all
Reply to author
Forward
0 new messages