We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5411 - config.guess and config.sub outdated
Summary: config.guess and config.sub outdated
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.16
Depends on:
Blocks:
 
Reported: 2020-12-22 21:33 UTC by Ozkan Sezer
Modified: 2020-12-23 23:33 UTC (History)
0 users

See Also:


Attachments
updated config.guess and config.sub (24.09 KB, application/x-gzip)
2020-12-22 21:33 UTC, Ozkan Sezer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2020-12-22 21:33:53 UTC
Created attachment 4595 [details]
updated config.guess and config.sub

Our config.guess and config.sub are rather outdated.
Attached new versions of them here.

However, build-scripts/config.sub.patch do not apply
to these new versions: I don't know if and where that
patch is still needed.
Comment 1 Sam Lantinga 2020-12-23 22:09:55 UTC
I see nacl and emscripten support in there, so I think our patch may not be needed anymore. I went ahead and removed it, we'll see how it goes:
https://hg.libsdl.org/SDL/rev/a6c6c5487352

Thanks!
Comment 2 Ozkan Sezer 2020-12-23 22:48:00 UTC
Buildbot emscripten builds seem to fail with:

Invalid configuration `wasm-unknown-emscripten': machine `wasm-unknown' not recognized
configure: error: /bin/bash ../build-scripts/config.sub wasm-unknown-emscripten failed

https://buildbot.libsdl.org/#/builders/21

Will try adding missing emscripten entry from the removed patch
into current config.sub later.
Comment 3 Ozkan Sezer 2020-12-23 22:58:17 UTC
Fixed buildbot emscripten builds with https://hg.libsdl.org/SDL/rev/48c7803322be
by replacing wasm-unknown-emscripten with wasm32-unknown-emscripten
Comment 4 Ozkan Sezer 2020-12-23 23:03:03 UTC
(In reply to Ozkan Sezer from comment #3)
> Fixed buildbot emscripten builds with
> https://hg.libsdl.org/SDL/rev/48c7803322be
> by replacing wasm-unknown-emscripten with wasm32-unknown-emscripten

Note however, I don't know about emscripten configurations.
Someone (Ryan?) please confirm. (I chose wasm32 arbitrarily,
config.sub also recognizes wasm64.)
Comment 5 Sam Lantinga 2020-12-23 23:33:52 UTC
I think this is fine, thanks!