- Home
- Discussion Forum
- AROS FORUMS
- Development General
- Error when trying to build 3) alt-abiv0-linux-i386 (DEBUG)
Error when trying to build 3) alt-abiv0-linux-i386 (DEBUG)
Last updated on 4 days ago
deadwoodAROS Dev
Posted 4 days agoIn general it should not, but you never know edge cases. Mint 22 is based on Ubuntu 24.04 so they should be almost indentical. Hopefully this will be the only issue when building 32-bit version.
NathanHMember
Posted 4 days ago@deadwood,
I use Ubuntu 24.04. Thanks for the help. I'll make that change and try again. I didn't realize that the linux host would have such an effect. Maybe its time to go to Mint if that is what everyone else uses here.
NathanH
I use Ubuntu 24.04. Thanks for the help. I'll make that change and try again. I didn't realize that the linux host would have such an effect. Maybe its time to go to Mint if that is what everyone else uses here.
NathanH
deadwoodAROS Dev
Posted 4 days agoI tried doint a clean build under Mint 22 and I didn't get that error. What you can do is to disable this specific test, here is how to change the mmakefile.src
Code Download source
diff --git a/developer/debug/test/crt/stdc/math/mmakefile.src b/developer/debug/test/crt/stdc/math/mmakefile.src
index ddace377f5..4d14352952 100644
--- a/developer/debug/test/crt/stdc/math/mmakefile.src
+++ b/developer/debug/test/crt/stdc/math/mmakefile.src
@@ -29,11 +29,10 @@ FILESPARANOIA :=
#MM- test-crt-stdc : test-crt-stdc-math test-crt-stdc-math-cunit
#MM- test-crt-stdc-quick : test-crt-stdc-math-quick test-crt-stdc-math-cunit-quick
-#MM- test-crt-stdc-math : test-crt-stdc-math-fenv test-crt-stdc-math-c99-double test-crt-stdc-math-c99-float test-crt-stdc-math-ieee754 test-crt-stdc-math-inftorture test-crt-stdc-math-paranoia-double test-crt-stdc-math-paranoia-float
-#MM- test-crt-stdc-math-quick : test-crt-stdc-math-fenv-quick test-crt-stdc-math-c99-double-quick test-crt-stdc-math-c99-float-quick test-crt-stdc-math-ieee754-quick test-crt-stdc-math-inftorture-quick test-crt-stdc-math-paranoia-double-quick test-crt-stdc-math-paranoia-float-quick
+#MM- test-crt-stdc-math : test-crt-stdc-math-c99-double test-crt-stdc-math-c99-float test-crt-stdc-math-ieee754 test-crt-stdc-math-inftorture test-crt-stdc-math-paranoia-double test-crt-stdc-math-paranoia-float
+#MM- test-crt-stdc-math-quick : test-crt-stdc-math-c99-double-quick test-crt-stdc-math-c99-float-quick test-crt-stdc-math-ieee754-quick test-crt-stdc-math-inftorture-quick test-crt-stdc-math-paranoia-double-quick test-crt-stdc-math-paranoia-float-quick
#MM- test-crt-stdc-math-common : includes includes-copy linklibs kernel
-#MM test-crt-stdc-math-fenv : test-crt-stdc-math-common
#MM test-crt-stdc-math-c99-double : test-crt-stdc-math-common
#MM test-crt-stdc-math-c99-float : test-crt-stdc-math-common
#MM test-crt-stdc-math-ieee754 : test-crt-stdc-math-common
@@ -55,9 +54,6 @@ USER_CPPFLAGS =
USER_CPPFLAGS = -DNO_STRICT_DFL_ENV
-%build_prog mmake=test-crt-stdc-math-fenv
- files=$(FILESFENV) targetdir=$(EXEDIR)
- progname=math-fenv
USER_CPPFLAGS = -DSYS_MATH_H
Edited by deadwood on 27-11-2025 01:57, 4 days ago
deadwoodAROS Dev
Posted 4 days agoWhat is the linux host you are build this on?
NathanHMember
Posted 5 days agoHi,
The i386 toolchain built without a problem. When I then went to build: 3) alt-abiv0-linux-i386 (DEBUG), however, I get the following error. I got the same error when trying to build the non-debug version too. I did one non-standard thing. It failed to download acpica-unix-20230331.tar.gz from the given site so failed with an error. So I searched the web and downloaded it from https://mirror-hk...331.tar.gz to put in portsources folder. I suppose it might not be the exact same file though the toolchain accepted it. Any thoughts on a workaround for this error? Thanks.
NathanH
[MMAKE] Making test-crt-stdc-math-fenv in developer/debug/test/crt/stdc/math
Makedepend developer/debug/test/crt/stdc/math/test-fenv.c ...
Compiling developer/debug/test/crt/stdc/math/test-fenv.c
Linking AROS/Development/Debug/Tests/crt/stdc/math-fenv...
Link failed: /home/nhesterm/sda7/myrepo/toolchain-alt-abiv0-i386/i386-aros-gcc --sysroot /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development -m32 -march=i686 -mno-ms-bitfields /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/gen/developer/debug/test/crt/stdc/math/test-fenv.o -o /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development/Debug/Tests/crt/stdc/math-fenv -g
There are undefined symbols in '/home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/gen/developer/debug/test/crt/stdc/math/math-fenv':
U __has_sse
U __test_sse
make[1]: *** [mmakefile:2092: /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development/Debug/Tests/crt/stdc/math-fenv] Error 1
[MMAKE] make --no-print-directory TOP=/home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d SRCDIR=/home/nhesterm/sda7/myrepo/AROS CURDIR=developer/debug/test/crt/stdc/math TARGET=test-crt-stdc-math-fenv --file=mmakefile test-crt-stdc-math-fenv failed: 512
[MMAKE] Error: Error while running make in developer/debug/test/crt/stdc/math: No such file or directory
make: *** [Makefile:125: all] Error 10
The i386 toolchain built without a problem. When I then went to build: 3) alt-abiv0-linux-i386 (DEBUG), however, I get the following error. I got the same error when trying to build the non-debug version too. I did one non-standard thing. It failed to download acpica-unix-20230331.tar.gz from the given site so failed with an error. So I searched the web and downloaded it from https://mirror-hk...331.tar.gz to put in portsources folder. I suppose it might not be the exact same file though the toolchain accepted it. Any thoughts on a workaround for this error? Thanks.
NathanH
[MMAKE] Making test-crt-stdc-math-fenv in developer/debug/test/crt/stdc/math
Makedepend developer/debug/test/crt/stdc/math/test-fenv.c ...
Compiling developer/debug/test/crt/stdc/math/test-fenv.c
Linking AROS/Development/Debug/Tests/crt/stdc/math-fenv...
Link failed: /home/nhesterm/sda7/myrepo/toolchain-alt-abiv0-i386/i386-aros-gcc --sysroot /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development -m32 -march=i686 -mno-ms-bitfields /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/gen/developer/debug/test/crt/stdc/math/test-fenv.o -o /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development/Debug/Tests/crt/stdc/math-fenv -g
There are undefined symbols in '/home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/gen/developer/debug/test/crt/stdc/math/math-fenv':
U __has_sse
U __test_sse
make[1]: *** [mmakefile:2092: /home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d/bin/linux-i386/AROS/Development/Debug/Tests/crt/stdc/math-fenv] Error 1
[MMAKE] make --no-print-directory TOP=/home/nhesterm/sda7/myrepo/alt-abiv0-linux-i386-d SRCDIR=/home/nhesterm/sda7/myrepo/AROS CURDIR=developer/debug/test/crt/stdc/math TARGET=test-crt-stdc-math-fenv --file=mmakefile test-crt-stdc-math-fenv failed: 512
[MMAKE] Error: Error while running make in developer/debug/test/crt/stdc/math: No such file or directory
make: *** [Makefile:125: all] Error 10
Edited by NathanH on 26-11-2025 19:52, 5 days ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Moderator: Administrator, Moderators
