Re: [v8-users] error: unexpected token in '.section' directive

165 views
Skip to first unread message

Ben Noordhuis

unread,
Aug 27, 2014, 4:37:12 PM8/27/14
to v8-u...@googlegroups.com
On Wed, Aug 27, 2014 at 10:07 PM, Fernando Iwamoto - Plannej
<fernando...@plannej.com.br> wrote:
> There's any fix on this? Couldn't find any single of help to fix...
>
>
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libplatform/src/libplatform/task-queue.o
> ../third_party/icu/linux/icudtl_dat.S:2:20: error: unexpected token in
> '.section' directive
> .section .note.GNU-stack,"",%progbits
> ^
> ../third_party/icu/linux/icudtl_dat.S:3:18: error: unexpected token in
> '.section' directive
> .section .rodata
> ^
> ../third_party/icu/linux/icudtl_dat.S:6:2: error: unknown directive
> .hidden icudt52_dat
> ^
> ../third_party/icu/linux/icudtl_dat.S:8:2: error: unknown directive
> .type icudt52_dat,%object
> ^
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libplatform/src/libplatform/worker-thread.o
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libbase/src/base/atomicops_internals_x86_gcc.o
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libbase/src/base/cpu.o
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libbase/src/base/logging.o
> CXX(target)
> /Users/fernando/v8/out/native/obj.target/v8_libbase/src/base/once.o
> make[1]: ***
> [/Users/fernando/v8/out/native/obj.target/icudata/third_party/icu/linux/icudtl_dat.o]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [native] Error 2

Looks like ICU is misdetecting your platform. If i18n is not a
requirement for you, try `make i18nsupport=off`.

Fernando Iwamoto - Plannej

unread,
Aug 28, 2014, 2:26:39 PM8/28/14
to v8-u...@googlegroups.com
It worked somehow, until the terminal showed me this another error ... 

../src/base/platform/platform-freebsd.cc:159:11: error: member reference base type 'int' is not a structure or union
    result.push_back(SharedLibraryAddress(start_of_path, start, end));

Ben Noordhuis

unread,
Aug 28, 2014, 2:50:17 PM8/28/14
to v8-u...@googlegroups.com
On Thu, Aug 28, 2014 at 8:26 PM, Fernando Iwamoto - Plannej
<fernando...@plannej.com.br> wrote:
> It worked somehow, until the terminal showed me this another error ...
>
> ../src/base/platform/platform-freebsd.cc:159:11: error: member reference
> base type 'int' is not a structure or union
> result.push_back(SharedLibraryAddress(start_of_path, start, end));

I don't think FreeBSD is a supported platform. That means if it
works, great, and if it doesn't, please fix it yourself and send the
patch upstream. :-)

Fernando Iwamoto - Plannej

unread,
Aug 29, 2014, 4:35:30 PM8/29/14
to v8-u...@googlegroups.com
What do you mean the FreeBSD is not supported? You mean, if I'm using OSX wont do?
Reply all
Reply to author
Forward
0 new messages