![]() |
#121 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
No luck with v1.6.4.37. The result is the same
|
![]() |
![]() |
![]() |
#122 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Weird, I made a point of building w/ -march=core2 for just that reason... And I'm not aware of any of the components trying to be smart with CFLAGS, so, double-weird...
If you can, see if building it yourself via homebrew leads to a better result? |
![]() |
![]() |
![]() |
#123 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
I do not have homebrew installed and, probably, won't install it just for this purpose only. It would be much simpler for me to try a different machine with different OS. Nevertheless, many thanks for help
|
![]() |
![]() |
![]() |
#124 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PSGrabber: Perfectly understandable
![]() If you could get me a backtrace of the SIGILL, I might be able to pinpoint if something's misbehaving, and/or if I simply expected XCode's clang to behave like GCC while it in fact does not. |
![]() |
![]() |
![]() |
#125 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PSGrabber:
I may have managed to make gmp behave and not try to target my own CPU, but the one I'm actually explicitly targeting, and thus not include highly cpu-specific assemby routines, so, does this build run on your machine? Last edited by NiLuJe; 02-21-2016 at 07:19 PM. Reason: Killed the now deprecated attachment, I've updated the snapshots. |
![]() |
![]() |
![]() |
#126 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
This time I get
Code:
Invalid number of supported devices (3) for this update type (OTA V1). |
![]() |
![]() |
![]() |
#127 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PSGrabber: With the exact same commandline as in your previous code block?
That's... weird (again ^^). |
![]() |
![]() |
![]() |
#128 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
exactly the same
Oh, no, not exactly - this time I used Code:
-d kindle3 Code:
-d k3w Last edited by PSGrabber; 02-21-2016 at 06:28 PM. Reason: Correction |
![]() |
![]() |
![]() |
#129 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Does the number in parenthesis change, or is it always 3? (Try with other device names?).
That's a very simple piece of code (which works perfectly well everywhere else), so I'm going to assume that something is subtly corrupting memory somewhere when run on these CPUs, which I'll somehow chalk up to XCode and I'm not sure I can do anything about, but, still, interestingly weird ^^. |
![]() |
![]() |
![]() |
#130 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
![]() |
![]() |
![]() |
![]() |
#131 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PSGrabber: Great!
Then good news all around: the alias isn't supposed to work, OTA V1 only supports a *single* target device (hence the mess of packages when distributing stuff for those devices. And unless you use MRPI, we have to stick to OTA V1 on those devices). (The error message is slightly vague because it's used in a number of different situations, and the mess of tests in the if block is already beastly enough as it is ;p). Thanks for your various tests, I'd never have thought that something was wrong on those CPUs since I thought I'd already done enough to support them ![]() Last edited by NiLuJe; 02-21-2016 at 07:26 PM. |
![]() |
![]() |
![]() |
#132 |
Member
![]() Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
|
@NiLuJe: Many thanks for your great help and support
![]() |
![]() |
![]() |
![]() |
#133 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Last edited by NiLuJe; 03-21-2016 at 07:17 PM. |
![]() |
![]() |
![]() |
#134 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The mingw x64 kindletool.exe fails when doing an extract, because x64 windows does not allow user apps to create files on the hdd root. I changed the win32 (& not cygwin) temp path from "" to "." to use the current dir instead of root. A github pull request is pending. I did not do a build (no toolchain installed here).
EDIT: It looks like I need to setup a toolchain on this computer. Proposing changes without testing them is relatively pointless. EDIT2: Even yifanlu's older kindletool fails extract with "Cannot create temporary file." on my win7 x64. Time to use linux instead? Last edited by geekmaster; 03-28-2016 at 02:55 PM. |
![]() |
![]() |
![]() |
#135 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@geekmaster: Yup, known issue. Not limited to x64, IIRC.
Running as a privileged account is the current workaround. I'll check soon-ish if using $PWD helps. If someone *really* cares, it should be done right w/ GetTempPathW... Which opens a whole n'other can of worms, because I currently royally disregard's Windows Unicode mess... (char vs. wchar_t). Which is also why, if you ever manage to get a libarchive error printed, it'll be mangled. |
![]() |
![]() |
![]() |
Tags |
kindletool, update |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BookCreator: Does anybody create IMP files using BC? | =X= | Workshop | 0 | 01-07-2011 01:20 PM |
Create readable .mobi files out of pdfs | jordan13589 | Amazon Kindle | 3 | 12-21-2010 11:35 PM |
Create catalogue without creating new files and folders? | zaphod234 | Calibre | 4 | 07-21-2010 06:44 PM |
Firmware Update Kindle dx not sorting recent files after 2.5 update,help | nayito2 | Amazon Kindle | 8 | 06-05-2010 12:49 PM |
unpack requires a string argument of length 2 | Sannepan | Calibre | 2 | 02-23-2010 02:05 PM |