![]() |
![]() |
#1461 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#1462 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 409
|
Thanks that works!
|
![]() |
![]() |
#1463 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
I just added the branch `amiga13.1` to my gcc repo. For those who want to test it...
=> switch the gcc repo to that branch, use a different prefix and try it out. Code:
git clone https://github.com/bebbo/amiga-gcc cd amiga-gcc sudo mkdir /opt/amiga sudo chown username /opt/amiga make update-gcc pushd project/gcc git fetch origin amiga13.1:amiga13.1 --depth=10 git checkout amiga13.1 popd make clean make min -j28 Last edited by bebbo; 26 April 2023 at 18:08. |
![]() |
![]() |
#1464 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
![]() |
![]() |
#1465 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Code:
make libnix...failed /root/projects/libnix/sources/socket/socket/sendmsg.c /root/projects/libnix/sources/socket/socket/send.c /root/projects/libnix/sources/socket/socket/sendto.c /root/projects/libnix/sources/socket/socket/recfrom.c /root/projects/libnix/sources/socket/socket/addrinfo.c /root/projects/libnix/sources/socket/socket/shutdown.c /root/projects/libnix/sources/socket/socket/recv.c /root/projects/libnix/sources/socket/socket/connect.c /root/projects/libnix/sources/socket/socket/socket.c /root/projects/libnix/sources/socket/socket/getsockopt.c /root/projects/libnix/sources/socket/socket/getpeername.c /root/projects/libnix/sources/socket/socket/socketpair.c /root/projects/libnix/sources/socket/socket/setsockopt.c /root/projects/libnix/sources/socket/socket/getsockname.c /root/projects/libnix/sources/socket/unistd/gethostname.c /root/projects/libnix/sources/socket/unistd/getdomainname.c /root/projects/libnix/sources/socket/unistd/crypt.c /root/projects/libnix/sources/socket/unistd/select.c /root/projects/libnix/sources/socket/unistd/getpwent.c /root/projects/libnix/sources/socket/unistd/__inituser.c /root/projects/libnix/sources/socket/unistd/gethostid.c /root/projects/libnix/sources/socket/unistd/getgrent.c In file included from /opt/m68k-amigaos-gcc10/m68k-amigaos/ndk-include/proto/bsdsocket.h:74, from /root/projects/libnix/sources/socket/socket/addrinfo.c:2: /root/projects/libnix/sources/socket/socket/addrinfo.c: In function '__freeaddrinfo': /root/projects/libnix/sources/socket/socket/addrinfo.c:6:9: error: 'asm' specifier for variable '__freeaddrinfo_ai' conflicts with 'asm' clobber list 6 | freeaddrinfo(ai); |
![]() |
![]() |
#1466 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
What NDK are you using? I used NDK3.2 since NDK3.9 is no longer available... ... looking into it too |
|
![]() |
![]() |
#1467 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 725
|
|
![]() |
![]() |
#1468 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#1469 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
EDIT: For what it's worth, I use the 3.9 NDK for amiga6 gcc branch too without issue. Last edited by Marlon_; 26 April 2023 at 21:18. |
|
![]() |
![]() |
#1470 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
You can always trust web.archive.org:
https://web.archive.org/web/20221205...gaOS/NDK39.lha Also, alinea now hosts the 3.9 NDK. BSzili even has a PR for you: https://github.com/bebbo/amiga-gcc/pull/339 Last edited by Marlon_; 26 April 2023 at 21:37. |
![]() |
![]() |
#1471 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
Code:
/root/build-Linux-m68k-amigaos/gcc/./gcc/xgcc -B/root/build-Linux-m68k-amigaos/gcc/./gcc/ -B/opt/m68k-amigaos-gcc10/m68k-amigaos/bin/ -B/opt/m68k-amigaos-gcc10/m68k-amigaos/lib/ -isystem /opt/m68k-amigaos-gcc10/m68k-amigaos/include -isystem /opt/m68k-amigaos-gcc10/m68k-amigaos/ndk-include -isystem /opt/m68k-amigaos-gcc10/m68k-amigaos/sys-include -O2 -fomit-frame-pointer -fbaserel -c /root/projects/gcc/libgcc/config/m68k/new_op.c /opt/m68k-amigaos-gcc10/m68k-amigaos/bin/ranlib libgcc.a /opt/m68k-amigaos-gcc10/m68k-amigaos/bin/ranlib: libgcc.a: file in wrong format make[2]: *** [Makefile:943: libgcc.a] Error 1 make libgcc...failed |
|
![]() |
![]() |
#1472 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 725
|
libnix fails with
Code:
/home/alex/t/amiga-gcc13.1/projects/libnix/sources/socket/socket/addrinfo.c:6:9: error: 'asm' specifier for variable '__freeaddrinfo_ai' conflicts with 'asm' clobber list 6 | freeaddrinfo(ai); | ^~~~~~~~~~~~ |
![]() |
![]() |
#1473 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
I added some fixes and `make all` completed succesfully on a new ubuntu VM.
The easiest way to build from scratch is: Code:
sudo mkdir -p /opt/amiga sudo chown $USER /opt/amiga git clone https://github.com/bebbo/amiga-gcc cd amiga-gcc make branch branch=amiga13.1 mod=gcc make all -j20 Code:
git pull make update make clean make branch branch=amiga13.1 mod=gcc make all -j20 |
![]() |
![]() |
#1474 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
![]() Code:
#9 1907.2 build/mui/libmui.c: In function 'MUI_Offset': #9 1907.2 build/mui/libmui.c:494:3: error: 'asm' specifier for variable 'obj' conflicts with 'asm' clobber list #9 1907.2 494 | __asm volatile ("jsr a6@(-234:W)" #9 1907.2 | ^~~~~ #9 1907.2 build/mui/libmui.c:494:3: error: 'asm' specifier for variable 'y' conflicts with 'asm' clobber list #9 1907.2 sdk mui...failed |
|
![]() |
![]() |
#1475 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
... dang - all that wrong asm stuff... |
|
![]() |
![]() |
#1476 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#1477 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
![]() |
![]() |
#1478 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Toolchain builds successfully with GCC 13.1 branch now.
![]() ![]() |
![]() |
![]() |
#1479 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#1480 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
and: m68k-amigaos-gdb does not yet work with gcc-13.1 since it's a new debug format - same as in elf.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New GCC based dev toolchain for AmigaOS 3.x | cla | Coders. Releases | 8 | 24 December 2017 10:18 |
Issue with photon/xxxx WinUAE Toolchain | arpz | Coders. Asm / Hardware | 2 | 26 September 2015 22:33 |
New 68k gcc toolchain | arti | Coders. C/C++ | 17 | 31 July 2015 03:59 |
Hannibal's WinUAE Demo Toolchain 5 | Bobic | Amiga scene | 1 | 23 July 2015 21:04 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
|
|