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

Build freezes on macOS 15: Your compiler chokes on the "volatile" modifier #75

Open
barracuda156 opened this issue Oct 8, 2024 · 1 comment

Comments

@barracuda156
Copy link

make: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_mosml/mosml/work/mosml-13c581aec46eea134e478f2e2b6456278e36ecce/src'
cd config; /Library/Developer/CommandLineTools/usr/bin/make all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_mosml/mosml/work/mosml-13c581aec46eea134e478f2e2b6456278e36ecce/src/config'
sh autoconf /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_mosml/mosml/work/compwrap/cc/usr/bin/clang
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
Something went wrong during endianness determination.
You'll have to figure out endianness yourself
(option MOSML_BIG_ENDIAN in m.h).
Your compiler chokes on the "volatile" modifier.
Never mind, we'll do without it.
Your compiler chokes on the "volatile" modifier.
Never mind, we'll do without it.

Then the final lines keep repeating indefinitely.

See also: https://trac.macports.org/ticket/71070

@andrey-perevitskiy
Copy link

You can try build with GNU C89 the standard:

CC="gcc --std=gnu89" make --environment-overrides world

Possibly, it is just due to an error in ./config/auto-aux/endian.c, where arbitrary argument quantity supposing in main(). (Probably, it should be void) C89 will not error implicit integer as return value of main(), but GNU C89 also allows c++ comments.

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

No branches or pull requests

2 participants