I've done linux builds with clang-20. What is the error produced when configure is checking for lex / flex? (look in the config.log).
If you want, you can email me the config.log and I can take a look at it directly. -- Cheyenne Wills [email protected] On Thu, 23 Oct 2025 17:54:01 +0000 Ben Huntsman <[email protected]> wrote: > Hi there- > Do any of the ports currently work with CLANG 17 or higher? > > After some work trying to get the AIX port working with IBM's new > Open XL C 17.1, which is CLANG-based, I noticed that version 17.1.0 > and 17.1.1 use CLANG 13, while 17.1.2 jumps to 17, and 17.1.3 uses > CLANG 19. CLANG 17 is much more strict about the C standard it > enforces. When the configure script gets run, the lex test code > fails to compile and while this doesn't terminate the script, the LEX > variable gets set incorrectly in src/config/Makefile.config: > > LEX = : -l > > Obviously, that breaks the build later. I can get around it by > setting CFLAGS="-std=gnu89" and then configure works successfully, > but that's probably not the right solution here. > > Has anyone else seen anything like this? Do we need a new version > of autotools or something? > > Thanks! > > -Ben > > _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
