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

Update CI runners to Ubuntu 24.04 and macOS Sonoma #3208

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

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Nov 20, 2024

No description provided.

@itchyny itchyny marked this pull request as draft November 20, 2024 13:26
@itchyny itchyny force-pushed the action-runner-ubuntu-24.04-macos-14 branch from 324549f to 7cd7836 Compare November 20, 2024 13:41
@wader
Copy link
Member

wader commented Nov 20, 2024

Strange build error on i386 🤔

@itchyny
Copy link
Contributor Author

itchyny commented Dec 2, 2024

I was debugging on an EC2 instance and found -static with -lm not working. I don't know why.

~/jq$ i686-linux-gnu-gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -I./modules/oniguruma/src -O2 -fstack-protector-all -static -o jq src/main.o ./.libs/libjq.a -L./modules/oniguruma/src /home/ubuntu/jq/modules/oniguruma/src/.libs/libonig.a -lm -lpthread -pthread
/usr/lib/gcc-cross/i686-linux-gnu/13/../../../../i686-linux-gnu/bin/ld: ./.libs/libjq.a(builtin.o): in function `f_fmod':
builtin.c:(.text+0x82d9): undefined reference to `fmod'
/usr/lib/gcc-cross/i686-linux-gnu/13/../../../../i686-linux-gnu/bin/ld: ./.libs/libjq.a(builtin.o): in function `f_exp10':
builtin.c:(.text+0x8e41): undefined reference to `exp10'
collect2: error: ld returned 1 exit status
~/jq$ i686-linux-gnu-gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -I./modules/oniguruma/src -O2 -fstack-protector-all -o jq src/main.o ./.libs/libjq.a -L./modules/oniguruma/src /home/ubuntu/jq/modules/oniguruma/src/.libs/libonig.a -lm -lpthread -pthread
~/jq$ echo $?
0
~/jq$ file jq
jq: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=061e74870e1e3751b68a2cb3b20c5c48b32dc0df, for GNU/Linux 3.2.0, not stripped

@wader
Copy link
Member

wader commented Dec 3, 2024

@itchyny
Copy link
Contributor Author

itchyny commented Dec 3, 2024

Thanks, that's it!

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