Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recompiling an Old Thunderbird
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Wed Dec 27, 2017 11:17 pm    Post subject: Recompiling an Old Thunderbird Reply with quote

Heyo,

So I've mostly got my system working after the Profile 17 and PIE migration.


The only thing I have been unable to get working is the old version of thunderbird-bin I use (1.5).

It just segfaults - Does anyone have any suggestions on how I can go about debugging this??
My one thought was to re-emerge all 32-bit libraries, which would be relatively safe since their only purpose in life is to support these 32-bit binaries, but I'm not sure of a quick way of doing that without recompiling all the 64-bit side as well...

My preferred option would be to get the binary working again as then I won't have to worry about any changes in compile options having unexpected future side-effects on my e-mail!



The other option is to try and compile it from source, but the sourcecode for 1.5 is a horrible mess and apparently quite broken as their own compile instructions don't work for it, even with some small sourcecode patches to try and work around increased compiler strictness!
I got a bit further with thunderbird-2 but that gets hung up on linking its own sqlite and errors out on this:
Code:
c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libstoragecomps.so -o libstoragecomps.so  mozStorageModule.o       -Wl,--whole-archive ../../dist/lib/libstorage_s.a  -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lsqlite3 -L../../dist/bin -lxpcom -lxpcom_core  -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/bin -lmozjs  -Wl,--version-script -Wl,/home/cyke/src/new/thunderbird/2/mozilla/build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm   
../../dist/lib/libstorage_s.a(mozStorageAsyncIO.o): In function `mozStorageService::InitStorageAsyncIO()':
mozStorageAsyncIO.cpp:(.text+0x964): undefined reference to `sqlite3_os_switch'
../../dist/lib/libstorage_s.a(mozStorageAsyncIO.o): In function `ProcessAsyncMessages()':
mozStorageAsyncIO.cpp:(.text+0x1091): undefined reference to `sqlite3ApiExit'
../../dist/lib/libstorage_s.a(mozStorageService.o): In function `mozStorageService::Init()':
mozStorageService.cpp:(.text+0x53f): undefined reference to `sqlite3_enable_shared_cache'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::Initialize(nsIFile*)':
mozStorageConnection.cpp:(.text+0x542): undefined reference to `sqlite3_open'
mozStorageConnection.cpp:(.text+0x5b2): undefined reference to `sqlite3_open'
mozStorageConnection.cpp:(.text+0x621): undefined reference to `sqlite3_prepare'
mozStorageConnection.cpp:(.text+0x639): undefined reference to `sqlite3_close'
mozStorageConnection.cpp:(.text+0x66c): undefined reference to `sqlite3_step'
mozStorageConnection.cpp:(.text+0x686): undefined reference to `sqlite3_finalize'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::GetLastInsertRowID(long*)':
mozStorageConnection.cpp:(.text+0x70b): undefined reference to `sqlite3_last_insert_rowid'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::GetLastError(int*)':
mozStorageConnection.cpp:(.text+0x723): undefined reference to `sqlite3_errcode'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::GetLastErrorString(nsACString_internal&)':
mozStorageConnection.cpp:(.text+0x739): undefined reference to `sqlite3_errmsg'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::ExecuteSimpleSQL(nsACString_internal const&)':
mozStorageConnection.cpp:(.text+0x83b): undefined reference to `sqlite3_exec'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::TableExists(nsACString_internal const&, int*)':
mozStorageConnection.cpp:(.text+0x988): undefined reference to `sqlite3_prepare'
mozStorageConnection.cpp:(.text+0x9c8): undefined reference to `sqlite3_step'
mozStorageConnection.cpp:(.text+0x9d5): undefined reference to `sqlite3_finalize'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::IndexExists(nsACString_internal const&, int*)':
mozStorageConnection.cpp:(.text+0xad0): undefined reference to `sqlite3_prepare'
mozStorageConnection.cpp:(.text+0xb10): undefined reference to `sqlite3_step'
mozStorageConnection.cpp:(.text+0xb1d): undefined reference to `sqlite3_finalize'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::CreateTable(char const*, char const*)':
mozStorageConnection.cpp:(.text+0xb89): undefined reference to `sqlite3_exec'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::CreateFunction(char const*, int, mozIStorageFunction*)':
mozStorageConnection.cpp:(.text+0xc27): undefined reference to `sqlite3_create_function'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageSqlFuncHelper(sqlite3_context*, int, Mem**)':
mozStorageConnection.cpp:(.text+0xc84): undefined reference to `sqlite3_user_data'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::Preload()':
mozStorageConnection.cpp:(.text+0xcf7): undefined reference to `sqlite3Preload'
../../dist/lib/libstorage_s.a(mozStorageConnection.o): In function `mozStorageConnection::~mozStorageConnection()':
mozStorageConnection.cpp:(.text+0xd6c): undefined reference to `sqlite3_close'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetParameterName(unsigned int, nsACString_internal&)':
mozStorageStatement.cpp:(.text+0x288): undefined reference to `sqlite3_bind_parameter_name'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetParameterIndexes(nsACString_internal const&, unsigned int*, unsigned int**)':
mozStorageStatement.cpp:(.text+0x3f0): undefined reference to `sqlite3_bind_parameter_indexes'
mozStorageStatement.cpp:(.text+0x475): undefined reference to `sqlite3_free_parameter_indexes'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetColumnName(unsigned int, nsACString_internal&)':
mozStorageStatement.cpp:(.text+0x4cf): undefined reference to `sqlite3_column_name'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::Reset()':
mozStorageStatement.cpp:(.text+0x539): undefined reference to `sqlite3_reset'
mozStorageStatement.cpp:(.text+0x542): undefined reference to `sqlite3_clear_bindings'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindUTF8StringParameter(unsigned int, nsACString_internal const&)':
mozStorageStatement.cpp:(.text+0x5fd): undefined reference to `sqlite3_bind_text'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindStringParameter(unsigned int, nsAString_internal const&)':
mozStorageStatement.cpp:(.text+0x6c3): undefined reference to `sqlite3_bind_text16'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindDoubleParameter(unsigned int, double)':
mozStorageStatement.cpp:(.text+0x6f6): undefined reference to `sqlite3_bind_double'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindInt32Parameter(unsigned int, int)':
mozStorageStatement.cpp:(.text+0x71e): undefined reference to `sqlite3_bind_int'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindInt64Parameter(unsigned int, long)':
mozStorageStatement.cpp:(.text+0x746): undefined reference to `sqlite3_bind_int64'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindNullParameter(unsigned int)':
mozStorageStatement.cpp:(.text+0x76e): undefined reference to `sqlite3_bind_null'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::BindBlobParameter(unsigned int, unsigned char const*, unsigned int)':
mozStorageStatement.cpp:(.text+0x79d): undefined reference to `sqlite3_bind_blob'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetTypeOfIndex(unsigned int, int*)':
mozStorageStatement.cpp:(.text+0x7b5): undefined reference to `sqlite3_column_type'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetInt32(unsigned int, int*)':
mozStorageStatement.cpp:(.text+0x82e): undefined reference to `sqlite3_column_int'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetInt64(unsigned int, long*)':
mozStorageStatement.cpp:(.text+0x852): undefined reference to `sqlite3_column_int64'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetDouble(unsigned int, double*)':
mozStorageStatement.cpp:(.text+0x878): undefined reference to `sqlite3_column_double'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetSharedUTF8String(unsigned int, unsigned int*, char const**)':
mozStorageStatement.cpp:(.text+0x8a7): undefined reference to `sqlite3_column_bytes'
mozStorageStatement.cpp:(.text+0x8b6): undefined reference to `sqlite3_column_text'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetUTF8String(unsigned int, nsACString_internal&)':
mozStorageStatement.cpp:(.text+0x933): undefined reference to `sqlite3_column_bytes'
mozStorageStatement.cpp:(.text+0x941): undefined reference to `sqlite3_column_text'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetSharedString(unsigned int, unsigned int*, unsigned short const**)':
mozStorageStatement.cpp:(.text+0x9a3): undefined reference to `sqlite3_column_bytes16'
mozStorageStatement.cpp:(.text+0x9b2): undefined reference to `sqlite3_column_text16'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetString(unsigned int, nsAString_internal&)':
mozStorageStatement.cpp:(.text+0xa33): undefined reference to `sqlite3_column_bytes16'
mozStorageStatement.cpp:(.text+0xa41): undefined reference to `sqlite3_column_text16'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetSharedBlob(unsigned int, unsigned int*, unsigned char const**)':
mozStorageStatement.cpp:(.text+0xaa6): undefined reference to `sqlite3_column_bytes'
mozStorageStatement.cpp:(.text+0xab5): undefined reference to `sqlite3_column_blob'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::GetBlob(unsigned int, unsigned int*, unsigned char**)':
mozStorageStatement.cpp:(.text+0xaf4): undefined reference to `sqlite3_column_bytes'
mozStorageStatement.cpp:(.text+0xb25): undefined reference to `sqlite3_column_blob'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::Recreate()':
mozStorageStatement.cpp:(.text+0xc48): undefined reference to `sqlite3_transfer_bindings'
mozStorageStatement.cpp:(.text+0xc52): undefined reference to `sqlite3_finalize'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::ExecuteStep(int*)':
mozStorageStatement.cpp:(.text+0xc7e): undefined reference to `sqlite3_step'
mozStorageStatement.cpp:(.text+0xcb8): undefined reference to `sqlite3_expired'
mozStorageStatement.cpp:(.text+0xd13): undefined reference to `sqlite3_reset'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::Initialize(mozIStorageConnection*, nsACString_internal const&)':
mozStorageStatement.cpp:(.text+0xdd4): undefined reference to `sqlite3_finalize'
mozStorageStatement.cpp:(.text+0xe6c): undefined reference to `sqlite3_prepare'
mozStorageStatement.cpp:(.text+0xec8): undefined reference to `sqlite3_bind_parameter_count'
mozStorageStatement.cpp:(.text+0xed4): undefined reference to `sqlite3_column_count'
mozStorageStatement.cpp:(.text+0xf2c): undefined reference to `sqlite3_column_name16'
mozStorageStatement.cpp:(.text+0xfb6): undefined reference to `sqlite3_exec'
../../dist/lib/libstorage_s.a(mozStorageStatement.o): In function `mozStorageStatement::~mozStorageStatement()':
mozStorageStatement.cpp:(.text+0xfec): undefined reference to `sqlite3_finalize'
../../dist/lib/libstorage_s.a(mozStorageStatementWrapper.o): In function `mozStorageStatementWrapper::Initialize(mozIStorageStatement*)':
mozStorageStatementWrapper.cpp:(.text+0x896): undefined reference to `sqlite3_column_name16'
../../dist/lib/libstorage_s.a(mozStorageStatementWrapper.o): In function `mozStorageStatementRow::GetProperty(nsIXPConnectWrappedNative*, JSContext*, JSObject*, long, long*, int*)':
mozStorageStatementWrapper.cpp:(.text+0xecc): undefined reference to `sqlite3_column_type'
mozStorageStatementWrapper.cpp:(.text+0xf0c): undefined reference to `sqlite3_column_double'
mozStorageStatementWrapper.cpp:(.text+0xf4c): undefined reference to `sqlite3_column_bytes16'
mozStorageStatementWrapper.cpp:(.text+0xf66): undefined reference to `sqlite3_column_text16'
mozStorageStatementWrapper.cpp:(.text+0xfb1): undefined reference to `sqlite3_column_bytes'
mozStorageStatementWrapper.cpp:(.text+0xfcb): undefined reference to `sqlite3_column_blob'
../../dist/lib/libstorage_s.a(mozStorageStatementWrapper.o): In function `mozStorageStatementParams::SetProperty(nsIXPConnectWrappedNative*, JSContext*, JSObject*, long, long*, int*)':
mozStorageStatementWrapper.cpp:(.text+0x136f): undefined reference to `sqlite3_bind_parameter_indexes'
mozStorageStatementWrapper.cpp:(.text+0x13be): undefined reference to `sqlite3_free_parameter_indexes'
../../dist/lib/libstorage_s.a(mozStorageStatementWrapper.o): In function `mozStorageStatementParams::NewResolve(nsIXPConnectWrappedNative*, JSContext*, JSObject*, long, unsigned int, JSObject**, int*)':
mozStorageStatementWrapper.cpp:(.text+0x1634): undefined reference to `sqlite3_bind_parameter_index'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetTypeOfIndex(unsigned int, int*)':
mozStorageValueArray.cpp:(.text+0x1a5): undefined reference to `sqlite3_column_type'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetInt32(unsigned int, int*)':
mozStorageValueArray.cpp:(.text+0x211): undefined reference to `sqlite3_column_int'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetInt64(unsigned int, long*)':
mozStorageValueArray.cpp:(.text+0x227): undefined reference to `sqlite3_column_int64'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetDouble(unsigned int, double*)':
mozStorageValueArray.cpp:(.text+0x23f): undefined reference to `sqlite3_column_double'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetSharedUTF8String(unsigned int, unsigned int*, char const**)':
mozStorageValueArray.cpp:(.text+0x331): undefined reference to `sqlite3_column_bytes'
mozStorageValueArray.cpp:(.text+0x340): undefined reference to `sqlite3_column_text'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetUTF8String(unsigned int, nsACString_internal&)':
mozStorageValueArray.cpp:(.text+0x397): undefined reference to `sqlite3_column_bytes'
mozStorageValueArray.cpp:(.text+0x3a5): undefined reference to `sqlite3_column_text'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetSharedString(unsigned int, unsigned int*, unsigned short const**)':
mozStorageValueArray.cpp:(.text+0x41d): undefined reference to `sqlite3_column_bytes16'
mozStorageValueArray.cpp:(.text+0x42c): undefined reference to `sqlite3_column_text16'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetString(unsigned int, nsAString_internal&)':
mozStorageValueArray.cpp:(.text+0x483): undefined reference to `sqlite3_column_bytes16'
mozStorageValueArray.cpp:(.text+0x491): undefined reference to `sqlite3_column_text16'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetSharedBlob(unsigned int, unsigned int*, unsigned char const**)':
mozStorageValueArray.cpp:(.text+0x50c): undefined reference to `sqlite3_column_bytes'
mozStorageValueArray.cpp:(.text+0x51b): undefined reference to `sqlite3_column_blob'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::GetBlob(unsigned int, unsigned int*, unsigned char**)':
mozStorageValueArray.cpp:(.text+0x54c): undefined reference to `sqlite3_column_bytes'
mozStorageValueArray.cpp:(.text+0x55a): undefined reference to `sqlite3_column_blob'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetTypeOfIndex(unsigned int, int*)':
mozStorageValueArray.cpp:(.text+0x599): undefined reference to `sqlite3_value_type'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetInt32(unsigned int, int*)':
mozStorageValueArray.cpp:(.text+0x60b): undefined reference to `sqlite3_value_int'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetInt64(unsigned int, long*)':
mozStorageValueArray.cpp:(.text+0x627): undefined reference to `sqlite3_value_int64'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetDouble(unsigned int, double*)':
mozStorageValueArray.cpp:(.text+0x645): undefined reference to `sqlite3_value_double'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetSharedUTF8String(unsigned int, unsigned int*, char const**)':
mozStorageValueArray.cpp:(.text+0x679): undefined reference to `sqlite3_value_bytes'
mozStorageValueArray.cpp:(.text+0x68c): undefined reference to `sqlite3_value_text'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetUTF8String(unsigned int, nsACString_internal&)':
mozStorageValueArray.cpp:(.text+0x6bf): undefined reference to `sqlite3_value_type'
mozStorageValueArray.cpp:(.text+0x6d1): undefined reference to `sqlite3_value_bytes'
mozStorageValueArray.cpp:(.text+0x6e1): undefined reference to `sqlite3_value_text'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetSharedString(unsigned int, unsigned int*, unsigned short const**)':
mozStorageValueArray.cpp:(.text+0x745): undefined reference to `sqlite3_value_bytes16'
mozStorageValueArray.cpp:(.text+0x758): undefined reference to `sqlite3_value_text16'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetString(unsigned int, nsAString_internal&)':
mozStorageValueArray.cpp:(.text+0x78b): undefined reference to `sqlite3_value_type'
mozStorageValueArray.cpp:(.text+0x79d): undefined reference to `sqlite3_value_bytes16'
mozStorageValueArray.cpp:(.text+0x7ad): undefined reference to `sqlite3_value_text16'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetBlob(unsigned int, unsigned int*, unsigned char**)':
mozStorageValueArray.cpp:(.text+0x808): undefined reference to `sqlite3_value_bytes'
mozStorageValueArray.cpp:(.text+0x818): undefined reference to `sqlite3_value_blob'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageArgvValueArray::GetSharedBlob(unsigned int, unsigned int*, unsigned char const**)':
mozStorageValueArray.cpp:(.text+0x866): undefined reference to `sqlite3_value_bytes'
mozStorageValueArray.cpp:(.text+0x877): undefined reference to `sqlite3_value_blob'
../../dist/lib/libstorage_s.a(mozStorageValueArray.o): In function `mozStorageStatementRowValueArray::mozStorageStatementRowValueArray(sqlite3_stmt*)':
mozStorageValueArray.cpp:(.text+0x911): undefined reference to `sqlite3_data_count'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: libstoragecomps.so: hidden symbol `sqlite3_bind_int' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
gmake[4]: *** [/home/cyke/src/new/thunderbird/2/mozilla/config/rules.mk:999: libstoragecomps.so] Error 1
gmake[4]: Leaving directory '/home/cyke/src/new/thunderbird/2/thunderbird-build/storage/build'
gmake[3]: *** [/home/cyke/src/new/thunderbird/2/mozilla/config/rules.mk:702: libs] Error 2
gmake[3]: Leaving directory '/home/cyke/src/new/thunderbird/2/thunderbird-build/storage'
gmake[2]: *** [Makefile:513: tier_9] Error 2
gmake[2]: Leaving directory '/home/cyke/src/new/thunderbird/2/thunderbird-build'
make[1]: *** [Makefile:64: default] Error 2
make[1]: Leaving directory '/home/cyke/src/new/thunderbird/2/thunderbird-build'
make: *** [client.mk:915: build] Error 2
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Wed Dec 27, 2017 11:25 pm    Post subject: Reply with quote

Cyker,

All those
Code:
... cpp:(.text+0x964): undefined reference ...
are typical of failing the do the C++ ABI update for gcc-4 to gcc-5 properly.
Did some packages fail when you did the C++ rebuild.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Thu Dec 28, 2017 12:14 am    Post subject: Reply with quote

Hi NS, thanks for the quick reply!

I'm fairly sure my system was gcc5'd okay (At least I hope so; I'd only just got it working when I was confronted with the Profile 17/gcc-6 change!!!).

Those errors I *think* are an internal thunderbird source issue; It's using its internal sqlite, not the sqlite on my system (Mainly because I don't have sqlite on my system!). I don't really know what I'm doing which makes it hard to intuit why it is unable to link things in its own build tree...!

I'm building it by hand out-of-tree to see what needs to be done before I ebuildify it, so I'm not sure if that is also throwing in extra hurdles...


This is all mainly why I'd much rather get the binary working instead if I can!!

I don't suppose you know of a way to re-emerge all 32-bit packages on the system without also recompiling the 64-bit sides of them too...?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13739

PostPosted: Thu Dec 28, 2017 11:38 pm    Post subject: Reply with quote

In case of a failed or incomplete migration, the undefined references should be about std::string, under either its old or new name, depending on exactly how the migration failed. In this case, those references do not mention std::string at all, so I think this is not a gcc-5 issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum