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

GCC 13.2 #14

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

GCC 13.2 #14

wants to merge 32 commits into from

Conversation

MBeijer
Copy link
Member

@MBeijer MBeijer commented May 24, 2023

No description provided.

@MBeijer MBeijer changed the title Gcc10 Gcc13.1 May 6, 2024
@glebm
Copy link

glebm commented Sep 26, 2024

Getting a link error with the latest docker on DevilutionX: https://github.com/diasurgical/devilutionX/actions/runs/11059280133/job/30727221901?pr=7435

/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: /opt/m68k-amigaos/m68k-amigaos/libnix/lib/libm020/libnix.a(__gmtoffset.o): in function tzset': __gmtoffset.o:(.bss+0xc): multiple definition of timezone'; /opt/m68k-amigaos/m68k-amigaos/libnix/lib/libm020/libnix20.a(setlocale.o):setlocale.o:(.bss+0x36): first defined here
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: /opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/libm020/libm881/libstdc++.a(ctype_configure_char.o): in function _EH_FRAME_BEGIN__': ctype_configure_char.o:(.text._ZNSt5ctypeIcEC2EPKcbm+0x78): undefined reference to ctype'
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: ctype_configure_char.o:(.text._ZNSt5ctypeIcEC1EPKcbm+0x78): undefined reference to `ctype'

@MBeijer
Copy link
Member Author

MBeijer commented Sep 27, 2024

Getting a link error with the latest docker on DevilutionX: https://github.com/diasurgical/devilutionX/actions/runs/11059280133/job/30727221901?pr=7435

/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: /opt/m68k-amigaos/m68k-amigaos/libnix/lib/libm020/libnix.a(__gmtoffset.o): in function tzset': __gmtoffset.o:(.bss+0xc): multiple definition of timezone'; /opt/m68k-amigaos/m68k-amigaos/libnix/lib/libm020/libnix20.a(setlocale.o):setlocale.o:(.bss+0x36): first defined here
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: /opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/libm020/libm881/libstdc++.a(ctype_configure_char.o): in function _EH_FRAME_BEGIN__': ctype_configure_char.o:(.text._ZNSt5ctypeIcEC2EPKcbm+0x78): undefined reference to ctype'
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: ctype_configure_char.o:(.text._ZNSt5ctypeIcEC1EPKcbm+0x78): undefined reference to `ctype'

Bugs in the actual toolchain should still be reported in https://github.com/bebbo/amiga-gcc this repo is just for building the docker image.

@MBeijer
Copy link
Member Author

MBeijer commented Sep 27, 2024

gcc13.1 is still highly experimental in the Amiga target. Most amiga devs still use the gcc 6.5 toolchain because of this, just so you're informed of this. @glebm

@MBeijer
Copy link
Member Author

MBeijer commented Sep 27, 2024

@glebm @bebbo found the commit that broke it: bebbo/libnix@f6846ba#diff-a5bd985394076c19822bcb2d40a1618ddcb926607677458f02284ee62d4157d5

/opt/m68k-amigaos/lib/gcc/m68k-amigaos/13.1.1/../../../../m68k-amigaos/bin/ld: 
ctype_configure_char.o:(.text._ZNSt5ctypeIcEC1EPKcbm+0x78): undefined reference to `_ctype_'

@MBeijer
Copy link
Member Author

MBeijer commented Sep 27, 2024

@glebm @bebbo i've created an issue here: bebbo/gcc#237

@MBeijer
Copy link
Member Author

MBeijer commented Oct 3, 2024

@glebm building new image now

@MBeijer
Copy link
Member Author

MBeijer commented Oct 3, 2024

@glebm new image should be available now

@glebm
Copy link

glebm commented Oct 3, 2024

Re-ran the job just now but it's still failing with the same error: https://github.com/diasurgical/devilutionX/actions/runs/11088413258/job/31050491505

@MBeijer
Copy link
Member Author

MBeijer commented Oct 8, 2024

@glebm might need to switch it up to bebbo's gcc 13.2 branch

@MBeijer MBeijer changed the title Gcc13.1 GCC 13.2 Oct 8, 2024
@MBeijer
Copy link
Member Author

MBeijer commented Oct 8, 2024

@glebm new image based on 13.2 pushed, let me know if that made it better or worse!

@glebm
Copy link

glebm commented Oct 8, 2024

@MBeijer
Copy link
Member Author

MBeijer commented Oct 8, 2024

@glebm nice to hear!

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.

2 participants