Arch btw...
I switched to manjaro and after getting started with this SDK on my Windows Dual Boot, I want to move that to Linux. The package sh3eb-elf-gcc doesn't install, though. Anything known about that? Also, there are a ton of other packages that have casio, fx, or something similar in their name, that seem to relate to this. What is that?
Code: Preparing...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 06:09:30 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gcc-11.1.0.tar.xz
-> Downloading isl-0.24.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
(...)
curl: (28) Failed to connect to isl.gforge.inria.fr port 443 after 134803 ms: Connection timed out
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
(...)
Failed to build sh3eb-elf-gcc
Can't tell where the inria.fr mirror for libisl came from, but it looks like you could replace it with the equivalent source package from
https://libisl.sourceforge.io/.
Now, the shasum fails:
Code: Preparing...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 07:02:32 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gcc-11.1.0.tar.xz
-> Downloading ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19406 0 19406 0 0 53536 0 --:--:-- --:--:-- --:--:-- 53607
mv: '/var/tmp/pamac-build-lasloh/sh3eb-elf-gcc/.part' and '/var/tmp/pamac-build-lasloh/sh3eb-elf-gcc/.part' are the same file
==> Validating source files with sha256sums...
gcc-11.1.0.tar.xz ... Passed
... NOT FOUND
==> ERROR: One or more files did not pass the validity check!
Failed to build sh3eb-elf-gcc
Preparing...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 07:04:28 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading gcc-11.1.0.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2 75.2M 2 1753k 0 0 1280k 0 0:01:00 0:00:01 0:00:59 1280k
13 75.2M 13 10.2M 0 0 4408k 0 0:00:17 0:00:02 0:00:15 4407k
25 75.2M 25 18.8M 0 0 5723k 0 0:00:13 0:00:03 0:00:10 5722k
32 75.2M 32 24.0M 0 0 5651k 0 0:00:13 0:00:04 0:00:09 5651k
41 75.2M 41 31.0M 0 0 5920k 0 0:00:13 0:00:05 0:00:08 6353k
52 75.2M 52 39.4M 0 0 6347k 0 0:00:12 0:00:06 0:00:06 7737k
62 75.2M 62 46.8M 0 0 6368k 0 0:00:12 0:00:07 0:00:05 7274k
63 75.2M 63 47.4M 0 0 5779k 0 0:00:13 0:00:08 0:00:05 5817k
69 75.2M 69 52.3M 0 0 5721k 0 0:00:13 0:00:09 0:00:04 5782k
79 75.2M 79 59.8M 0 0 5909k 0 0:00:13 0:00:10 0:00:03 5897k
89 75.2M 89 67.4M 0 0 6081k 0 0:00:12 0:00:11 0:00:01 5740k
100 75.2M 100 75.2M 0 0 6245k 0 0:00:12 0:00:12 --:--:-- 6053k
-> Downloading isl-0.24.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ihttps
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ihttps
Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ihttps
Warning: Problem : timeout. Will retry in 3 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ihttps
==> ERROR: Failure while downloading https://ihttps://libisl.sourceforge.io//isl-0.24.tar.xz
Aborting...
Failed to build sh3eb-elf-gcc
Preparing...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 07:05:12 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gcc-11.1.0.tar.xz
-> Downloading isl-0.24.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0curl: (6) Could not resolve host: https
==> ERROR: Failure while downloading https://https://libisl.sourceforge.io//isl-0.24.tar.xz
Aborting...
Failed to build sh3eb-elf-gcc
Preparing...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 07:05:57 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gcc-11.1.0.tar.xz
-> Downloading isl-0.24.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
Warning: Problem : timeout. Will retry in 3 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: https
==> ERROR: Failure while downloading https://https://libisl.sourceforge.io//isl-0.24.tar.xz
Aborting...
Failed to build sh3eb-elf-gcc
Preparing...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Edit sh3eb-elf-gcc build files
Cloning sh3eb-elf-gcc build files...
Generating sh3eb-elf-gcc information...
Checking sh3eb-elf-gcc dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building sh3eb-elf-gcc...
==> Making package: sh3eb-elf-gcc 11.1.0-1 (Sat 30 Apr 2022 07:06:52 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading gcc-11.1.0.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 75.2M 0 98k 0 0 111k 0 0:11:28 --:--:-- 0:11:28 111k
0 75.2M 0 262k 0 0 154k 0 0:08:17 0:00:01 0:08:16 154k
0 75.2M 0 622k 0 0 220k 0 0:05:49 0:00:02 0:05:47 220k
1 75.2M 1 944k 0 0 254k 0 0:05:02 0:00:03 0:04:59 254k
1 75.2M 1 1242k 0 0 260k 0 0:04:55 0:00:04 0:04:51 260k
2 75.2M 2 1577k 0 0 273k 0 0:04:41 0:00:05 0:04:36 303k
2 75.2M 2 2009k 0 0 299k 0 0:04:16 0:00:06 0:04:10 349k
3 75.2M 3 2505k 0 0 325k 0 0:03:56 0:00:07 0:03:49 386k
3 75.2M 3 3033k 0 0 348k 0 0:03:41 0:00:08 0:03:33 417k
4 75.2M 4 3592k 0 0 370k 0 0:03:27 0:00:09 0:03:18 476k
5 75.2M 5 4280k 0 0 400k 0 0:03:12 0:00:10 0:03:02 548k
6 75.2M 6 5032k 0 0 430k 0 0:02:59 0:00:11 0:02:48 605k
7 75.2M 7 5815k 0 0 458k 0 0:02:48 0:00:12 0:02:36 661k
9 75.2M 9 6998k 0 0 511k 0 0:02:30 0:00:13 0:02:17 795k
11 75.2M 11 8725k 0 0 593k 0 0:02:09 0:00:14 0:01:55 1028k
14 75.2M 14 10.8M 0 0 705k 0 0:01:49 0:00:15 0:01:34 1352k
18 75.2M 18 13.9M 0 0 855k 0 0:01:30 0:00:16 0:01:14 1850k
24 75.2M 24 18.4M 0 0 1067k 0 0:01:12 0:00:17 0:00:55 2614k
30 75.2M 30 22.6M 0 0 1238k 0 0:01:02 0:00:18 0:00:44 3230k
36 75.2M 36 27.1M 0 0 1410k 0 0:00:54 0:00:19 0:00:35 3806k
41 75.2M 41 31.3M 0 0 1553k 0 0:00:49 0:00:20 0:00:29 4244k
47 75.2M 47 36.0M 0 0 1701k 0 0:00:45 0:00:21 0:00:24 4525k
54 75.2M 54 41.3M 0 0 1866k 0 0:00:41 0:00:22 0:00:19 4695k
60 75.2M 60 45.6M 0 0 1973k 0 0:00:39 0:00:23 0:00:16 4720k
67 75.2M 67 50.6M 0 0 2098k 0 0:00:36 0:00:24 0:00:12 4806k
74 75.2M 74 56.0M 0 0 2232k 0 0:00:34 0:00:25 0:00:09 5042k
81 75.2M 81 61.4M 0 0 2356k 0 0:00:32 0:00:26 0:00:06 5197k
87 75.2M 87 66.1M 0 0 2445k 0 0:00:31 0:00:27 0:00:04 5072k
95 75.2M 95 71.7M 0 0 2559k 0 0:00:30 0:00:28 0:00:02 5332k
100 75.2M 100 75.2M 0 0 2627k 0 0:00:29 0:00:29 --:--:-- 5458k
-> Downloading isl-0.24.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
73 1885k 73 1391k 0 0 895k 0 0:00:02 0:00:01 0:00:01 895k
97 1885k 97 1839k 0 0 746k 0 0:00:02 0:00:02 --:--:-- 746k
100 1885k 100 1885k 0 0 744k 0 0:00:02 0:00:02 --:--:-- 743k
==> Validating source files with sha256sums...
gcc-11.1.0.tar.xz ... Passed
isl-0.24.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build sh3eb-elf-gcc
Here is the build file:
Code: # Maintainer : CoiledSpring
# Original maintainer: Julien Savard <juju@juju2143.ca>
# Based on msp430-elf-gcc
_target="sh3eb-elf"
pkgname=${_target}-gcc
pkgver=11.1.0
pkgrel=1
_islver=0.24
pkgdesc="The GNU Compiler Collection for the ${_target} target."
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://gcc.gnu.org"
depends=("${_target}-binutils" 'libmpc' 'elfutils')
options=('staticlibs' '!buildflags' '!libtool' '!emptydirs' 'zipman' 'docs' '!strip')
source=("https://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz"
"https://libisl.sourceforge.io/isl-${_islver}.tar.xz")
sha256sums=('4c4a6fb8a8396059241c2e674b85b351c26a5d678274007f076957afa1cc9ddf'
'ff6625f44c97908182142cfb2976bcfeacb6d7e83297de7692265adc7abb13f6')
prepare() {
cd "${srcdir}/gcc-${pkgver/+/-}"
ln -s ../isl-$_islver isl
[[ -d gcc-build ]] && rm -rf gcc-build
mkdir gcc-build
}
build() {
cd "${srcdir}/gcc-${pkgver/+/-}"
export CFLAGS="-O2 -pipe -s -fomit-frame-pointer -ffunction-sections -fdata-sections"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-Wl,--gc-sections"
echo ${pkgver} > gcc/BASE-VER
cd gcc-build
[ $NOEXTRACT -eq 1 ] || ../configure \
--prefix=/usr \
--program-prefix=${_target}- \
--target=${_target} \
--host=$CHOST \
--build=$CHOST \
--disable-shared \
--disable-nls \
--disable-tls \
--disable-threads \
--enable-languages=c,c++ \
--enable-multilib \
--with-system-zlib \
--with-local-prefix=/usr/${_target} \
--with-as=/usr/bin/${_target}-as \
--with-ld=/usr/bin/${_target}-ld \
--disable-libgomp \
--enable-interwork \
--enable-addons \
--enable-sjlj-exceptions \
--disable-hosted-libstdcxx \
--with-gnu-as \
--with-gnu-ld \
--disable-libssp \
--disable-__cxa_atexit
make all-gcc all-target-libgcc
}
package() {
cd "${srcdir}/gcc-${pkgver/+/-}/gcc-build"
make DESTDIR="${pkgdir}" install-gcc install-target-libgcc
rm -rf "${pkgdir}/usr/share/man/man7/"
rm -rf "${pkgdir}/usr/share/info"
cp -r "${pkgdir}"/usr/libexec/* "${pkgdir}/usr/lib/"
rm -rf "${pkgdir}/usr/libexec"
# strip it manually
strip "${pkgdir}"/usr/bin/* 2>/dev/null || true
find "${pkgdir}"/usr/lib -type f -exec /usr/bin/${_target}-strip \
--strip-unneeded {} \; 2>/dev/null || true
}
Got the solution, I just downloaded the file and got the sum myself, replaced it in the script, now it works
Can you add this to the tutorial (https://prizm.cemetech.net/index.php?title=PrizmSDK_Setup_Guide):
When installing sh3eb-elf-gcc, click on Edit Build Files, and change the following:
Change "https://isl.gforge.inria.fr/isl-${_islver}.tar.xz" to "https://libisl.sourceforge.io/isl-${_islver}.tar.xz"
and
sha256sums=('4c4a6fb8a8396059241c2e674b85b351c26a5d678274007f076957afa1cc9ddf'
Change: 'ff6625f44c97908182142cfb2976bcfeacb6d7e83297de7692265adc7abb13f6')
To:'043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad')
Lasslos wrote:
Can you add this to the tutorial (https://prizm.cemetech.net/index.php?title=PrizmSDK_Setup_Guide):
When installing sh3eb-elf-gcc, click on Edit Build Files, and change the following:
Change "https://isl.gforge.inria.fr/isl-${_islver}.tar.xz" to "https://libisl.sourceforge.io/isl-${_islver}.tar.xz"
and
sha256sums=('4c4a6fb8a8396059241c2e674b85b351c26a5d678274007f076957afa1cc9ddf'
Change: 'ff6625f44c97908182142cfb2976bcfeacb6d7e83297de7692265adc7abb13f6')
To:'043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad')
I will upload a working PKGBUILD on GitLab and link it on the wiki.
Unfortunately, the alternative AUR packages are not any better. I do not have any contact with any of the package maintainers - so I think the best thing is for someone to add yet another package, except one that actually works.
You have a build of binutils/GCC available
here (this is a repository managed by a Planète Casio member). The toolchain is called sh-elf because it builds multilib for both sh3eb and sh4eb-nofpu, but it's the same thing otherwise. Feel free to start from the PKGBUILD there.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page
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