Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icu-intl: Ubuntu 14LTS build break #4664

Closed
obastemur opened this issue Feb 10, 2018 · 29 comments
Closed

icu-intl: Ubuntu 14LTS build break #4664

obastemur opened this issue Feb 10, 2018 · 29 comments
Assignees

Comments

@obastemur
Copy link
Collaborator

We have icu-intl is enabled by default now. ICU-intl impl. uses couple of ICU API those are not available on ICU 52. Although we don't say we officially support any of these, we could simply feature detect and pick API we can use and keep the number of platforms we support.

IMHO we shouldn't break our default build with Ubuntu 14LTS

@jackhorton
Copy link
Contributor

http://bugs.icu-project.org/apiref/icu4c/ucurr_8h.html#acc9adb69459d712bc18e3e167dc5ec2a

This is stable since 4.2. That is not the issue that was being experienced.

@obastemur
Copy link
Collaborator Author

Please provide more details to the issue and we could preferably use our cmake feature detection approach here to decide what to do.

@jackhorton
Copy link
Contributor

but... I am still highly unconvinced that this is a code issue. I will look into this more on Monday.

@obastemur
Copy link
Collaborator Author

As long as ‘default’ ChakraCore build successfully compiles and runs on 14LTS, there is no issue. Otherwise, API or ABI.. we have the tools to fix it.

@fatcerberus
Copy link
Contributor

I was getting link errors after building CC with —embed-icu on Ubuntu 16.04, is this related?

@jackhorton
Copy link
Contributor

Do you remember what the link errors were? The error being discussed here was one that came up in the office, a compilation error about an undefined reference to ucurr_getPluralName_52

@fatcerberus
Copy link
Contributor

fatcerberus commented Feb 12, 2018

I don’t remember exactly, they were definitely ICU functions it was failing on though, I had to double check that I had passed --embed-icu (I did).

@obastemur
Copy link
Collaborator Author

I was getting link errors after building CC with —embed-icu on Ubuntu 16.04, is this related?

Can you be more precise? This is a tested scenario by CI and it doesn't fail on neither 1.8 or master.

@fatcerberus
Copy link
Contributor

I’ll verify later once I pull up my Ubuntu 16 VM.

@fatcerberus
Copy link
Contributor

@obastemur

fatcerberus@pig-cult-vm:~/src/ChakraCore$ ./build.sh -j=8 --embed-icu

But later, attempting to link to the shared library:

dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessageImpl::appendReducedApostrophes(icu_57::UnicodeString const&, int, int, icu_57::UnicodeString&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::SharedObject::getRefCount() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::Locale::getDisplayName(icu_57::Locale const&, icu_57::UnicodeString&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::PluralMapBase::toCategory(char const*)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ParsePosition::~ParsePosition()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::registerInstance(icu_57::UObject*, icu_57::Locale const&, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::createKey(icu_57::UnicodeString const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::CanonicalIterator::CanonicalIterator(icu_57::UnicodeString const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `vtable for icu_57::CacheKeyBase'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::expandCapacity(int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::SharedObject::removeRef(signed char) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_add_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::updateVisibleIDs(icu_57::Hashtable&, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::~LocaleKeyFactory()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::handleCreate(icu_57::Locale const&, int, icu_57::ICUService const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::~ICUResourceBundleFactory()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::setElementAt(int, int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ByteSink::~ByteSink()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::SharedObject::addRef(signed char) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uiter_next32_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::setSize(int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleBased::getLocaleID(ULocDataLocaleType, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleBased::getLocale(ULocDataLocaleType, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::getDynamicClassID() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSetIterator::UnicodeSetIterator(icu_57::UnicodeSet const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::getPluralOffset(int) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSet::applyPattern(icu_57::UnicodeString const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::create(icu_57::ICUServiceKey const&, icu_57::ICUService const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::UVector32(int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::getKey(icu_57::ICUServiceKey&, icu_57::UnicodeString*, icu_57::ICUServiceFactory const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::operator==(icu_57::MessagePattern const&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `vtable for icu_57::ParsePosition'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::UVector64(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::~MessagePattern()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSetIterator::getString()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::~UCharsTrie()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUNotifier::removeListener(icu_57::EventListener const*, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ByteSink::Flush()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_open_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::CanonicalIterator::next()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::removeAllElements()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::setElementAt(long, int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::getDisplayName(icu_57::UnicodeString const&, icu_57::UnicodeString&, icu_57::Locale const&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::createSimpleFactory(icu_57::UObject*, icu_57::UnicodeString const&, signed char, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_close_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrieBuilder::~UCharsTrieBuilder()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::ICUResourceBundleFactory'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::CanonicalIterator::~CanonicalIterator()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_applyPattern_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::~UVector64()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::firstForCodePoint(int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::registerInstance(icu_57::UObject*, icu_57::Locale const&, int, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::ByteSink'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_getItemCount_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::LocaleKeyFactory(int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSetIterator::~UnicodeSetIterator()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::get(icu_57::Locale const&, icu_57::Locale*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::clearCaches()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::registerFactory(icu_57::ICUServiceFactory*, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::BreakIterator::createSentenceInstance(icu_57::Locale const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::getAvailableLocales() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::clear()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_getSerializedSet_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::operator=(icu_57::MessagePattern const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::unregister(void const*, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::CanonicalIterator::reset()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_addRange_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::insertElementAt(long, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::operator==(icu_57::UVector32 const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::~UVector32()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::notifyListener(icu_57::EventListener&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleUtility::initNameFromLocale(icu_57::Locale const&, icu_57::UnicodeString&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::handleCreate(icu_57::Locale const&, int, icu_57::ICUService const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::SharedObject'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeString::toTitle(icu_57::BreakIterator*, icu_57::Locale const&, unsigned int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::Iterator::next(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector64::expandCapacity(int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::insertElementAt(int, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::assign(icu_57::UVector32 const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::removeAllElements()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::get(icu_57::Locale const&, int, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSetIterator::next()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UVector32::UVector32(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_getItem_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrieBuilder::add(icu_57::UnicodeString const&, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::getDynamicClassID() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::CacheKeyBase'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::ICULocaleService(icu_57::UnicodeString const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uiter_previous32_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_getSerializedRangeCount_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_size_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrieBuilder::UCharsTrieBuilder(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `vtable for icu_57::ByteSink'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uiter_setUTF8_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `vtable for icu_57::SharedObject'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::MessagePattern(icu_57::MessagePattern const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUNotifier::notifyChanged()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrieBuilder::buildUnicodeString(UStringTrieBuildOption, icu_57::UnicodeString&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::getNumericValue(icu_57::MessagePattern::Part const&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::reset()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::Iterator::Iterator(unsigned short const*, int, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnifiedCache::getInstance(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::countFactories() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::registerInstance(icu_57::UObject*, icu_57::Locale const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::ICUResourceBundleFactory(icu_57::UnicodeString const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::handlesKey(icu_57::ICUServiceKey const&, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::CacheKeyBase::~CacheKeyBase()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::registerInstance(icu_57::UObject*, icu_57::UnicodeString const&, signed char, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnicodeSet::UnicodeSet(icu_57::UnicodeString const&, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::ICUResourceBundleFactory()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::nextForCodePoint(int)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::parsePluralStyle(icu_57::UnicodeString const&, UParseError*, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UCharsTrie::Iterator::~Iterator()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::acceptsListener(icu_57::EventListener const&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::SharedObject::deleteIfZeroRefCount() const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_clear_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleKeyFactory::getDisplayName(icu_57::UnicodeString const&, icu_57::Locale const&, icu_57::UnicodeString&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::ICULocaleService'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleUtility::initLocaleFromName(icu_57::UnicodeString const&, icu_57::Locale&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::SharedObject::~SharedObject()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::getKey(icu_57::ICUServiceKey&, icu_57::UnicodeString*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::UnifiedCache::_get(icu_57::CacheKeyBase const&, icu_57::SharedObject const*&, void const*, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUNotifier::addListener(icu_57::EventListener const*, UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUService::reInitializeFactories()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::createKey(icu_57::UnicodeString const*, int, UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICUResourceBundleFactory::getSupportedIDs(UErrorCode&) const'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::PluralMapBase::toCategory(icu_57::UnicodeString const&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::Locale::getAvailableLocales(int&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::ICULocaleService::~ICULocaleService()'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::MessagePattern::MessagePattern(UErrorCode&)'
dep/lib/x86_64/libChakraCore.so: undefined reference to `typeinfo for icu_57::LocaleKeyFactory'
dep/lib/x86_64/libChakraCore.so: undefined reference to `uset_getSerializedRange_57'
dep/lib/x86_64/libChakraCore.so: undefined reference to `icu_57::LocaleBased::setLocaleIDs(char const*, char const*)'
collect2: error: ld returned 1 exit status

@jackhorton
Copy link
Contributor

Very interesting -- that is all stuff used by ICU internally, not by ChakraCore. There are lots of typeinfo issues, and I remember there were some issues related to RTTI in the past. The classes there also seem to be from all over the place (haven't looked specifically but some of these things look like theyre from both Common and i18n). Super bizarre that this is an issue, though, since this is what our CI tests.

@fatcerberus
Copy link
Contributor

I'm building with --no-icu for now to avoid the issue, but I do wonder how much breakage I've caused by doing so.

@obastemur
Copy link
Collaborator Author

But later, attempting to link to the shared library

So you get the error when you use the shared lib?

@fatcerberus
Copy link
Contributor

@obastemur Yes, ./build.sh completes successfully but I get the errors above when I try to actually link to the generated binary.

@obastemur
Copy link
Collaborator Author

Can you please share some details on that?

@fatcerberus
Copy link
Contributor

What more do you need to know? I run build.sh with --embed-icu (no other options), attempt to link miniSphere to the shared library it creates and get a bunch of undefined reference errors for icu symbols (see a few posts above, I posted the complete list of errors).

@obastemur
Copy link
Collaborator Author

What more do you need to know?

The scenario you mentioned works on CI (test/native-tests/test-shared-basic). I'm trying to understand what is actually different with your build (CC linkage)

@fatcerberus
Copy link
Contributor

If it helps at all, here's the relevant part of my makefile:
https://github.com/fatcerberus/minisphere/blob/master/Makefile#L110-L118

Pretty standard stuff, I think.

@fatcerberus
Copy link
Contributor

Also here's everything else I link to if it matters:
https://github.com/fatcerberus/minisphere/blob/master/Makefile#L36-L39

@obastemur
Copy link
Collaborator Author

@fatcerberus I got the same errors after building CC on a dirty out folder. Can you please clean build folder for CC and retry?

@fatcerberus
Copy link
Contributor

@obastemur Thanks, just tried that about 5 minutes ago. I blew away my entire CC directory, cloned fresh from master and rebuilt with ./build.sh -j=8 --embed-icu, but got the exact same errors when linking to the binary. ☹️

@obastemur
Copy link
Collaborator Author

can you try the following;

cd test/native-tests/
 ./test_native.sh <path for shared ch binary> <build type i.e. Test or Debug ..> 

@fatcerberus
Copy link
Contributor

fatcerberus@pig-cult-vm:~/src/ChakraCore/test/native-tests$ ./test_native.sh ~/src/ChakraCore/out/Release/ch Release
Using CC [/usr/bin/clang-3.8]
Using CXX [/usr/bin/clang++-3.8]
ls: option requires an argument -- 'w'
Try 'ls --help' for more information.
Testing test-shared-basic
FATAL ERROR: Unable to load /home/fatcerberus/src/ChakraCore/out/Release/libChakraCore.so GetLastError=0x7e
Makefile:1: *** missing separator.  Stop.
./test_native.sh: line 67: ./sample.o: No such file or directory
test-shared-basic FAILED

@obastemur
Copy link
Collaborator Author

FATAL ERROR: Unable to load /home/fatcerberus/src/ChakraCore/out/Release/libChakraCore.so GetLastError=0x7e

Error code 126 means.. (among other things) it can't load libChakraCore.so because of a dependency.

It could be really nice if you may send a full raw log for the script below; (assuming you are under ~/src)

git clone https://github.com/Microsoft/ChakraCore cccc
cd cccc
./build.sh --embed-icu -j
cd test/native-tests/
./test_native.sh ~/src/cccc/out/Release/ch Release

When I do this on various systems, it doesn't fail.

@fatcerberus
Copy link
Contributor

@obastemur Still failing. 😭 Here's the full output running the exact commands you listed:
https://drive.google.com/open?id=1Kkcmr28dqKXuf468JykPHZTcrbKLQH__

@obastemur
Copy link
Collaborator Author

Thanks! I will normalize the log you sent and compare to mine / CI.. lets see what’s going on

@obastemur
Copy link
Collaborator Author

@fatcerberus most likely there is no ch binary in ~/src/cccc/out/Release/ch ?

If there is;

cd test/native-tests/test-shared-basic/
`~/src/cccc/out/Release/ch Platform.js > Makefile
make

What do you got?

@fatcerberus
Copy link
Contributor

I just checked, the ch binary is there.

fatcerberus@pig-cult-vm:~/src/cccc$ cd test/native-tests/test-shared-basic
fatcerberus@pig-cult-vm:~/src/cccc/test/native-tests/test-shared-basic$ ~/src/cccc/out/Release/ch Platform.js > Makefile
FATAL ERROR: Unable to load /home/fatcerberus/src/cccc/out/Release/libChakraCore.so GetLastError=0x7e
fatcerberus@pig-cult-vm:~/src/cccc/test/native-tests/test-shared-basic$ make
Makefile:1: *** missing separator.  Stop.
fatcerberus@pig-cult-vm:~/src/cccc/test/native-tests/test-shared-basic$ 

@jackhorton
Copy link
Contributor

I am going to assume this is resolved; feel free to re-open it in the future if something similar comes up. I am not sure if 14.04 works yet but at this point that should probably be a different issue if someone still wants it, and can probably be worked around with --embed-icu regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants