Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
September 19, 2012, 01:53:12 PM |
|
We're getting reports that version 0.7.0 isn't working on OSX 10.5-- are there any Mac developers with a 10.5 machine who can help figure out what is wrong? The OSX builds are done on my OSX 10.6.8 machine, compiled against the 10.5 SDK in 32-bit mode (see http://gavintech.blogspot.com/2011/11/deploying-bitcoin-qt-on-osx.html ) for maximum compatibility. I'm not sure what changed between bitcoin versions 0.6.3 and 0.7.0 that would break compatibility...
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
paulie_w
|
|
September 19, 2012, 03:44:40 PM |
|
gavin i'm sure you know how to use a virtual machine to run older versions of osx right?
|
|
|
|
Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
September 19, 2012, 09:35:16 PM |
|
gavin i'm sure you know how to use a virtual machine to run older versions of osx right?
I'm sure I could figure it out, but I don't have a copy of osx 10.5 to run, won't pirate it, and don't feel like spending $60 to pick up a copy on Ebay. I'd rather not spend the half a day it would take me to set up a development environment in a VM, too....
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
paulie_w
|
|
September 20, 2012, 02:30:25 PM |
|
would you like me to send you an older mac running 10.5?
|
|
|
|
Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
October 01, 2012, 09:23:16 PM |
|
If nobody steps up and volunteers to help with this, we'll have to drop support for OSX 10.5 in the next release.
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
URSAY
Legendary
Offline
Activity: 1974
Merit: 1010
|
|
October 01, 2012, 09:40:56 PM |
|
I'm in a mac environment and I've offered my testing skills in the past but I'm usually ignored. Actually...I sent you an email Gavin after we met at BitInstant regarding another pro-btc subject...never heard back from you.
|
|
|
|
dansmith
|
|
October 30, 2012, 06:12:05 PM |
|
Hello, I would like to take it upon myself to maintain Bitcoin-qt for OSX 10.5 I myself am stuck with osx 10.5 without the ability to upgrade. I use bitcoin-qt and starting with v. 0.7 the official mac build would crash. I have no problem compiling bitcoin-qt from source and running it. I just follow doc/readme-qt.rst My build environment is XCode 3.1.4 with Qt 4.6
Unfortunately, I can't trace the crash problem since the official build has no debugsymbols. What can be done at this point is that somebody would build the app on their osx 10.6/10.7 with debug symbols, so I could debug the app and find the problem.
|
|
|
|
dansmith
|
|
October 31, 2012, 07:18:49 PM |
|
URSAY, I'm sorry to hear that you've been ignored in the past. I read some of your previous posts and see that you have a legitimate grievance. Realising how busy Gavin Andersen might be, I'm not going to sit hear days on end waiting for him to send me the build with debuginfo. So I decided to turn to you URSAY. Do you own an OSX 10.6 machine? Can you build bitcoin-Qt from source?
|
|
|
|
URSAY
Legendary
Offline
Activity: 1974
Merit: 1010
|
|
November 01, 2012, 05:31:11 PM |
|
Dan...unfortunately I am without power at my home...I will be unable to help with this until I get power back and right now there is no ETA. I'm writing this from work on a PC. Sorry.
|
|
|
|
Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
November 01, 2012, 08:43:25 PM |
|
dansmith: Here's a -g build: http://skypaint.com/bitcoin/Bitcoin-Qt-mac-g.zipIf I recall correctly, one of the libraries it links with is incompatible with 10.5.
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
dansmith
|
|
November 04, 2012, 06:56:44 PM |
|
URSAY, I'm sorry to hear you are without power, hope things get sorted out soon for you.
Gavin: thank you for the build release. It turns out that libboost_thread-mt.dylib is trying to invoke a function in libstdc++.6.dylib with a mangled name which doesn't exist:
Dyld Error Message: Symbol not found: __ZNKSt13bad_exception4whatEv Referenced from: /Users/user/Desktop/btc07/Bitcoin-Qty.app/Contents/MacOS/../Frameworks/libboost_thread-mt.dylib Expected in: /usr/lib/libstdc++.6.dylib
On my 10.5 system I ran "nm /usr/lib/libstdc++.6.dylib | grep bad_exception" and I got ...
000455ae T __ZNSt13bad_exceptionD0Ev 000455a4 T __ZNSt13bad_exceptionD1Ev 00045586 T __ZNSt13bad_exceptionD2Ev 000068de T __ZSt21__throw_bad_exceptionv 00067310 S __ZTISt13bad_exception 0005d0f9 S __ZTSSt13bad_exception 00067338 S __ZTVSt13bad_exception
So, as expected the mangled name in question does not exist i this dylib.
I assume that the missing mangled name exists in osx 10.6's libstdcxx, so if you run the above command on 10.6's libstdcxx.*.dylib, you will see __ZNKSt13bad_exception4whatEv So my guess is that libboost_thread-mt.dylib was somehow linked against 10.6 host system's libstdcxx thus effectively ignoring or overriding -isysroot /Developer/SDKs/MacOSX10.5.sdk
Gavin, could you kindly advise as to whether or not you upgraded macports' boost package between the releases of bitcoin 0.6.3 an 0.7?
|
|
|
|
Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
November 04, 2012, 11:48:08 PM |
|
Gavin, could you kindly advise as to whether or not you upgraded macports' boost package between the releases of bitcoin 0.6.3 an 0.7?
Yes, I believe I did.
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
dansmith
|
|
November 05, 2012, 11:10:17 PM |
|
It seems that macports' boost Portfile never honored the "macosx_deployment_target 10.5" from macports.conf and always built with the host SDK. Gavin, you will have to add "-isysroot ${configure.sdkroot}" manually to the Portfile acc.to https://trac.macports.org/ticket/33085This commit has been added to boost's svn and then reverted the very next day. Could it be, Gavin, that you checked out from boost svn on the 1st or 2nd of February 2012? This is my only explanation why all your previous builds didn't crash on 10.5 like the current build does now that you have upgraded macports' boost.
|
|
|
|
Gavin Andresen (OP)
Legendary
Offline
Activity: 1652
Merit: 2301
Chief Scientist
|
|
November 06, 2012, 02:49:29 AM |
|
Ummm.... .... yeah.
Sorry, but tweaking and recompiling my macports boost to support OSX 10.5, which is not longer being supported by Apple (or Chrome or several other popular projects) just isn't very high on my TODO list.
Figuring out why it used to work is even lower on my list.
Perhaps you can convince people that you're trustworthy, and release a 10.5-compiled binary yourself.
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
dansmith
|
|
November 07, 2012, 06:17:53 PM Last edit: November 09, 2012, 06:25:13 PM by dansmith |
|
Gavin, thank you for your thoughts. For those interested in getting the 0.7.1 Bitcoin-Qt binary compiled for OSX 10.5, please download it from here: EDIT: Sorry the link below points to a broken app. Don't download it. The link to a proper build will be posted later on. http://www.coinuploads.com/downloads/38d71029e5ac845e6dd171a20e44fcb6I set a price on the download of 10 cents. This way I get both the pleasure of receiving tokens of appreciation for the hard work of setting up the development environment and investment of time as well as keeping stats of how many folks actually downloaded the file
|
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
November 08, 2012, 12:36:47 PM |
|
Gavin, thank you for your thoughts. For those interested in getting the 0.7.1 Bitcoin-Qt binary compiled for OSX 10.5, please download it from here: http://www.coinuploads.com/downloads/38d71029e5ac845e6dd171a20e44fcb6I set a price on the download of 10 cents. This way I get both the pleasure of receiving tokens of appreciation for the hard work of setting up the development environment and investment of time as well as keeping stats of how many folks actually downloaded the file Hi dan, I tested it on my mac 10.5.8, it dies like this Process: Bitcoin-Qt [359] Path: /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt Identifier: com.yourcompany.Bitcoin-Qt Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [76]
Interval Since Last Report: 801846 sec Crashes Since Last Report: 2 Per-App Interval Since Last Report: 773000 sec Per-App Crashes Since Last Report: 2
Date/Time: 2012-11-08 13:32:10.226 +0100 OS Version: Mac OS X 10.5.8 (9L31a) Report Version: 6 Anonymous UUID: 51EEDE10-8C88-466A-AEF6-E85F259DF368
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0
Dyld Error Message: Library not loaded: /opt/local/lib/libminiupnpc.8.dylib Referenced from: /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt Reason: image not found
spiccioli
|
|
|
|
paulie_w
|
|
November 08, 2012, 12:39:23 PM |
|
Gavin, thank you for your thoughts. For those interested in getting the 0.7.1 Bitcoin-Qt binary compiled for OSX 10.5, please download it from here: http://www.coinuploads.com/downloads/38d71029e5ac845e6dd171a20e44fcb6I set a price on the download of 10 cents. This way I get both the pleasure of receiving tokens of appreciation for the hard work of setting up the development environment and investment of time as well as keeping stats of how many folks actually downloaded the file nice idea dan! do you think you could also make a powerpc port using the same method?
|
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1100
|
|
November 08, 2012, 08:27:21 PM |
|
do you think you could also make a powerpc port using the same method?
The reference bitcoin client only supports little endian CPUs, which typically rules out PPC, SPARC, ...
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
dansmith
|
|
November 09, 2012, 06:13:37 PM |
|
spiccioli: I'm sorry, I packaged the app wrongly, didn't include all the shared libraries into the package. I will look into how to do it and reupload the proper file.
paulie_w: I'm sorry that you are stuck with an old mac. Porting to powerpc is no trivial matter.
jgarzik: Do you think it is feasible for me to maintain a separate powerpc fork. As I understand all the modifications for ppc should relate to functions which do byte-ordering related stuff. Since you know the source probably better than I, is there a lot of byte-fiddling in bitcoin?
|
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1100
|
|
November 09, 2012, 07:53:04 PM |
|
Do you think it is feasible for me to maintain a separate powerpc fork. As I understand all the modifications for ppc should relate to functions which do byte-ordering related stuff. Since you know the source probably better than I, is there a lot of byte-fiddling in bitcoin?
I doubt there would be need for a fork. As soon as someone, anyone, makes the effort to audit the source code and fix all the endian issues, we would likely just merge that patch into mainline bitcoin.
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
|