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

link to linaro release instead of broken Kobo repo for compiler toolchain #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buckley-w-david
Copy link

@buckley-w-david buckley-w-david commented Nov 16, 2021

The linked sources of the compiler toolchain are inaccessible.

The files in the repo are references to git large file storage

[I] david@darvid-pc ~/P/w/p/K/toolchain (master)> cat gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz 
version https://git-lfs.github.com/spec/v1
oid sha256:22914118fd963f953824b58107015c6953b5bbdccbdcf25ad9fd9a2f9f11ac07
size 80881572

[I] david@darvid-pc ~/P/w/p/K/toolchain (master) [2]> cat gcc-linaro-4.9.4-2017.01-20170615_darwin.tar.bz2 
version https://git-lfs.github.com/spec/v1
oid sha256:ad23f8252fcab0af1dc4fc2f758ec29dbe73c5b29b1589d5b8a7bf5483887ff4
size 132853143

But trying to fetch them results in this error

[I] david@darvid-pc ~/P/w/p/K/toolchain (master) [1]> git lfs fetch
fetch: Fetching reference refs/heads/master
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.                
error: failed to fetch some objects from 'https://github.com/kobolabs/Kobo-Reader.git/info/lfs'
[I] david@darvid-pc ~/P/w/p/K/toolchain (master) [2]> 

This issue #164 pointed me towards this source.
It's unfortunate that it doesn't have a Darwin release like the kobo repo did, but neither are accessible at this point anyway.

@baskerville
Copy link
Owner

@NiLuJe What's the most recent Linaro toolchain that has a GLIBC version requirement compatible with the current firmware?

@NiLuJe
Copy link
Contributor

NiLuJe commented Apr 6, 2022

No idea, I never used the binary releases ;).

@NiLuJe
Copy link
Contributor

NiLuJe commented Apr 6, 2022

But we do have binaries available in https://github.com/koreader/koxtoolchain nowadays :).

@baskerville
Copy link
Owner

I found the answer by running /lib/libc-2.11.1.so on the latest firmware:

GNU C Library (crosstool-NG 1.24.0.103_75d7525) stable release version 2.19, by Roland McGrath et al.
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.9.4.
Compiled on a Linux 2.6.35 system on 2020-04-13.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

@NiLuJe
Copy link
Contributor

NiLuJe commented Apr 6, 2022

If you need to support pre 4.x FW versions (can never remember the exact cutoff, it's around 4.6 IIRC), it's 2.15 ;).

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

Successfully merging this pull request may close these issues.

3 participants