Lasse, could you take a look at this? Please let me know if you need more
info. A full build log is attached to the original message.

On Wed, Apr 6, 2011 at 12:39, Paweł Hajdan, Jr. <[email protected]>wrote:

> I'm building v8-3.2.6 using scons in Release mode as a shared library and I
> get the following compile error:
>
> i686-pc-linux-gnu-g++ -o libv8preparser.so -Wl,--hash-style=gnu -Wl,-O1
> -Wl,--as-needed -m32 -Wl,-soname,libv8-3.2.6.so -shared
> obj/release/allocation.os obj/release/hashmap.os
> obj/release/preparse-data.os obj/release/preparser-api.os
> obj/release/preparser.os obj/release/scanner-base.os obj/release/token.os
> obj/release/unicode.os -lpthread
> i686-pc-linux-gnu-g++ -o obj/preparser/release/preparser-process.o -c -O2
> -march=i686 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions -m32 -O2
> -Iinclude -Isrc preparser/preparser-process.cc
> i686-pc-linux-gnu-g++ -o obj/release/mksnapshot.o -c -O2 -march=i686 -pipe
> -fno-strict-aliasing -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor
> -pedantic -m32 -fomit-frame-pointer -fdata-sections -ffunction-sections
> -ansi -fno-rtti -fno-exceptions -fvisibility=hidden -Wall -W
> -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -fomit-frame-pointer
> -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 -DV8_SHARED
> -DV8_FAST_TLS -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING
> -DENABLE_LOGGING_AND_PROFILING -Isrc src/mksnapshot.cc
> i686-pc-linux-gnu-g++ -o obj/preparser/release/preparser
> -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -m32
> obj/preparser/release/preparser-process.o -L. -lv8preparser -lpthread
> obj/preparser/release/preparser-process.o: In function
> `v8::internal::PreParseIO(_IO_FILE*)':
> preparser-process.cc:(.text+0x295): undefined reference to
> `v8::UnicodeInputStream::~UnicodeInputStream()'
> obj/preparser/release/preparser-process.o: In function
> `v8::internal::UTF8InputStream::Next()':
> preparser-process.cc:(.text._ZN2v88internal15UTF8InputStream4NextEv[v8::internal::UTF8InputStream::Next()]+0x51):
> undefined reference to `unibrow::Utf8::CalculateValue(unsigned char const*,
> unsigned int, unsigned int*)'
> obj/preparser/release/preparser-process.o: In function
> `v8::internal::UTF8InputStream::~UTF8InputStream()':
> preparser-process.cc:(.text._ZN2v88internal15UTF8InputStreamD1Ev[v8::internal::UTF8InputStream::~UTF8InputStream()]+0x14):
> undefined reference to `v8::UnicodeInputStream::~UnicodeInputStream()'
> obj/preparser/release/preparser-process.o: In function
> `v8::internal::UTF8InputStream::~UTF8InputStream()':
> preparser-process.cc:(.text._ZN2v88internal15UTF8InputStreamD0Ev[v8::internal::UTF8InputStream::~UTF8InputStream()]+0x14):
> undefined reference to `v8::UnicodeInputStream::~UnicodeInputStream()'
> collect2: ld returned 1 exit status
> scons: *** [obj/preparser/release/preparser] Error 1
> scons: building terminated because of errors.
>
> Do you know how this can be fixed? Should I file a bug?
>
> I'm attaching a full build log.
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to