Closed darcagn closed 5 months ago
I logged an issue upstream for jimtcl: https://github.com/msteveb/jimtcl/issues/303
@darcagn He created a branch for us in his repo "kos-fixes" that fixs the compile warning. Not sure if we want to update our makefile to point to that branch or try and convince him to merge that kos fix into his master.
Based on his commit message I think he wants it to be tested to make sure it works/makes sense before committing to master.
Some of these (like missing getpeername) are reasonable, but
it seems like an odd platform that declares but doesn't implement
access and umask, and implements but doesn't declare lstat.
These changes need testing to see if enough works to be useful.
But he raises a good point. We implement lstat()
:
https://github.com/KallistiOS/KallistiOS/blob/b51c6aa33c13fa0b68f6485e06108bf19c53d812/kernel/libc/newlib/newlib_stat.c#L59
But it's not declared anywhere so libjimtcl
can't access it. It seems like the right path here would be to declare lstat()
somewhere.
This is now solved pending the merge of PR KallistiOS/KallistiOS#530. By altering the Newlib headers, lstat()
is declared and libjimtcl
builds without complaint. All of kos-ports now builds under GCC 14/15! Thanks very much for your assistance on these issues @QuzarDC and @andressbarajas -- GCC 14 rc1 should be coming this Tuesday and KOS is now prepared to support it without issue!
-Wimplicit-function-declaration
will be made into an error on GCC 14 when released: https://github.com/gcc-mirror/gcc/commit/55e94561e97ed0bce4774aa1c6b5d5d82209a379This breaks four kos-ports.
Need to fix:
libjimtcl:
libmp3:
liboggvorbisplay:
libtremor: