Open anthony-cros opened 8 years ago
Just leave this with me for now. I want to get my GDB going :-)
See https://github.com/doublethinkco/webthree-umbrella-cross/releases/tag/untagged-47082f0f12989d1eedc2
That is a cross-build WITHOUT our edits to libweb3core. It just has Gav's attempted fixes for the same.
I am just curious to see if that fails at boot with the static constructor issue, or whether JUST his changes have fixed that. If he doesn't have enough fixes then I will refresh our libweb3core fork, and re-apply my other fixes in addition to his.
Please can you try this @anthony-cros, and we'll see where we are:
https://github.com/doublethinkco/webthree-umbrella-cross/releases/tag/eth.151125175856.tgz
This is a vanilla eth, with Gav's fixes rather than mine.
I want to see if his fixes are sufficient, or whether we need to fork again and start fixing the C++.
for good measure, I'm linking to the error I get on this ticket as well (https://gist.github.com/anthony-cros/530a1807d9778a8295cf)
Carsten Munk told me today that Tizen is armel, so maybe we've up the wrong path with armhf (hence your no-info failure), and we need to flip back to armel for Tizen, but with "good" names etc, rather than those default ones, which it seems to be choking on.
So yeah, the 'Tizen is armel' was incorrect.
We just need to get the armhf to be 'correct' by tweaking the crosstool-NG close enough to the ELF header info you got from the ls on your TM1
yes, Tag_FP_arch: VFPv3
is the telltale sign of armhf, right (that was from /bin/ls
on the tizen phone)?
Correct, @anthony-cros!
NOTE - Tizen ships with an even older version of GCC again :-) The Gear S2 smartwatch comes with libstdc++.so.6.0.16, which is the version which shipped with GCC 4.6.1, released in April 2010. Running the armel binaries generated with the GCC 5.2.1 cross-compiler which we are now using here results in binaries which we cannot run on the Gear S2. That results in the following runtime errors:
./eth: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./eth)
./eth: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by ./eth)
./eth: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.17' not found (required by ./eth)
./eth: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by
So it looks like I am going to have to specifically use an older sysroot to get something which can work on the Gear S2. I am unable SDB connect to any of my other Tizen devices right now, so cannot verify if they have slightly newer runtime libraries. The SDK does also have a GCC-4.9 toolchain, which perhaps was included in the Tizen 2.4 runtime? Using a different sysroot will involve getting GCC 4.6 headers and libraries onto the build machine, and then getting -sysroot into the CC and CXX command-lines, probably by creating a shell script which wraps the actual GCC binaries, as per the example below.
See http://stackoverflow.com/questions/2977182/alternatives-to-the-sysroot-switch-of-gcc
An other option would be to try Tizen:Yocto profile, it's not updated since age but you could try armhf architecture.
Hey @rzr! How are you doing, my friend? I hope to make it to FOSDEM 2020. Will you be there?
I still want to get this stuff working, 4 years later. I recently bought a Galaxy Watch Active and would be delighted if I could finally get Ethereum working on it - just for my own "itch scratching".
Do you know that version of Tizen is on that device? Or what the GLIBCXX version would be?
I suspect that much of this stuff which was so painful back in 2015 will "just work" now, because it will be on newer GCC and GLIBC versions.
Tizen 4, it seems!
https://www.xda-developers.com/hands-on-tizen-4-samsung-galaxy-watch-active/
Hi @bobsummerwill , yes I might attend fosdem again
have you considered to check new dot net tizen api from tizen 5 and tv platform ?
wow, this brings back memories :)
Doesn't it though?! ;)
On Wed., Nov. 6, 2019, 11:50 a.m. Anthony Cros notifications@github.com wrote:
wow, this brings back memories :)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doublethinkco/cpp-ethereum-cross/issues/20?email_source=notifications&email_token=ABXH22T3HK23AQBPRHS3I5LQSLYVVA5CNFSM4BUUQTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHG2KA#issuecomment-550399272, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXH22XXCIXYGXYT57QINOTQSLYVVANCNFSM4BUUQTKQ .
We were so young and so naive...
Well, I don't know that I agree with that, @anthony-cros!
It was early days, that is for sure, and it has been a long journey which is still ongoing, but we have moved forward a huge amount in the last 4 years.
Do you know that I am the Executive Director of the https://etccooperative.org now? On the "dark side".
Here is what we are up to ... https://slideslive.com/38920077/what-is-happening-with-ethereum-classic
Paging @martinbrook! Are you going to FOSDEM? I hope so, and to see you there.
Basically Bob is Darth Summerwill now.
On Wed., Nov. 6, 2019, 6:02 p.m. Bob Summerwill notifications@github.com wrote:
Well, I don't know that I agree with that, @anthony-cros https://github.com/anthony-cros!
It was early days, that is for sure, and it has been a long journey which is still ongoing, but we have moved forward a huge amount in the last 4 years.
Do you know that I am the Executive Director of the ETC Cooperative now? On the "dark side".
Here is what we are up to ... https://slideslive.com/38920077/what-is-happening-with-ethereum-classic
Paging @martinbrook https://github.com/martinbrook! Are you going to FOSDEM? I hope so, and to see you there.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/doublethinkco/cpp-ethereum-cross/issues/20?email_source=notifications&email_token=ABXH22TUVVZA5FUMN32TDBTQSNEG3A5CNFSM4BUUQTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIJLSY#issuecomment-550540747, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXH22RY6MFN4PZBPVZV4CDQSNEG3ANCNFSM4BUUQTKQ .
@rzr "have you considered to check new dot net tizen api from tizen 5 and tv platform ?"
Yes, though I want to run it on my smartwatch (as I did four years ago), so am only really interested in the Tizen versions which are shipped in real world devices.
Geth worked on the Gear S2 in November 2015 (thanks to Peter's work on xgo), but we never go the end of the line on eth because of the ancient GLIBC runtime:
So I think a sensible new set of platforms, if I pick up this work again would be to replace this set of targets with:
https://github.com/doublethinkco/cpp-ethereum-cross/blob/master/README.md
@phonikg Pretty much!
Afri launched the Mordor testnet at ETC Summit. I really want to get a MolochDAO instance for ETC infrastructure funding. And we could have a test-instance "Moloch-on-Mordor".
ETC obviously a better home for https://spankchain.com/ too!
Hi all, 4 years, where does the time go. Been head down in build systems over the last few years and not touched any embedded stuff. Catch up at FOSDEM if I make it.
On Thu, 7 Nov 2019, 00:36 Bob Summerwill, notifications@github.com wrote:
ETC obviously a better home for https://spankchain.com/ too!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/doublethinkco/cpp-ethereum-cross/issues/20?email_source=notifications&email_token=AABH7ODGAJUDBMLQTK55C6LQSNIINA5CNFSM4BUUQTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDILXQQ#issuecomment-550550466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABH7OAAFX4OHAMHHJPEIMDQSNIINANCNFSM4BUUQTKQ .