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

Not working with XCode 15.3 and Command Line Tools 15.3 (15E204a) #67

Open
Luckfried opened this issue Mar 15, 2024 · 4 comments
Open
Labels

Comments

@Luckfried
Copy link

image

@jasonacox
Copy link
Owner

Thanks @Luckfried - we likely need to upgrade the tvOS version. Are the other targets (iOS, MacOS) building correctly?

@jasonacox
Copy link
Owner

jasonacox commented Mar 16, 2024

Update. XCode 15.2 (15C500b) works with the following library version.

OPENSSL="3.0.12"        # https://www.openssl.org/source/ 
LIBCURL="8.5.0"         # https://curl.haxx.se/download.html
NGHTTP2="1.58.0"        # https://nghttp2.org/

I'm upgrafing to XCode 15.3 to see what causes the break. I suspect we may need to change the min SDK versions.

@jasonacox
Copy link
Owner

The error that is generated with XCode 15.3:

crypto/ui/ui_openssl.c:273:17: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static volatile intr_signal;
~~~~~~~~~~~~~~~ ^
int
1 error generated.

jasonacox added a commit that referenced this issue Mar 17, 2024
@jasonacox
Copy link
Owner

Fix required adding int to declaration. I don't know why it wouldn't be there already and why it only impacts tvOS. A quick sed added to tvOS build:

# Starting with XCode 15.3
LANG=C sed -i -- 's/static volatile intr_signal/static volatile int intr_signal;/' "./crypto/ui/ui_openssl.c"

I discovered a second issue with latest cURL library (8.6.0) that now requires the libpsl library which is not available by default. We have not included this in prior version so I'm using the --without-libpsl for now while I figure out an easy way to get a static cross-compile of the library.

Now working with latest:
curl/8.6.0 libcurl/8.6.0 OpenSSL/3.0.13 zlib/1.2.12 nghttp2/1.60.0

@jasonacox jasonacox added the bug label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants