Bug 2144903
| Summary: | ksh: Porting to C99 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | ksh | Assignee: | Vincent Mihalkovič <vmihalko> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | kdudka, martijn, svashisht, vmihalko |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2137512 | ||
|
Description
Florian Weimer
2022-11-22 16:57:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38. upstream issue: https://github.com/ksh93/ksh/issues/587 The 1.0.6 release should resolve this. Please let me know if there are still problems. I built the 1.0.6 release with an instrumented GCC* (https://koji.fedoraproject.org/koji/taskinfo?taskID=102618961), and this is the output (on x86_64): *** GCC errors begin *** ./F72c01755.c:166: pointer-from-int-conversion in argument ./F72c01755.c:169: pointer-to-int-conversion in argument ./F72c01755.c:169: pointer-from-int-conversion in argument ./F72c01755.c:167: pointer-to-int-conversion in argument ./F72c01755.c:167: pointer-from-int-conversion in argument ./F72c01755.c:166: pointer-to-int-conversion in argument conf.tmp.c:22: implicit function declaration: strtol conf.tmp.c:19: implicit function declaration: open conf.tmp.c:30: implicit function declaration: printf conf.tmp.c:20: implicit function declaration: open conf.tmp.c:23: implicit function declaration: strtol ./72c012523.c:41: implicit function declaration: __xstat ./72c017824.c:44: implicit function declaration: utimets ./72c018531.c:77: implicit function declaration: _link ./72c018531.c:75: implicit function declaration: _getpagesize ./72c018531.c:85: implicit function declaration: _pathconf ./72c018531.c:91: implicit function declaration: _stat ./72c018531.c:93: implicit function declaration: _truncate ./72c018531.c:87: implicit function declaration: _rename ./72c018531.c:71: implicit function declaration: _chmod ./72c018531.c:69: implicit function declaration: _access ./72c018531.c:43: implicit function declaration: _fstat ./72c018531.c:62: implicit function declaration: _mkdir ./72c018531.c:95: implicit function declaration: _unlink ./72c018531.c:41: implicit function declaration: _open ./72c018531.c:64: implicit function declaration: _chdir ./72c018531.c:45: implicit function declaration: _close ./72c018531.c:48: implicit function declaration: _write ./72c018531.c:48: implicit function declaration: _read ./72c018531.c:97: implicit function declaration: _utime *** GCC errors end *** I posted the results above, and now I have to look into the actual ksh source code location that triggers the compiler errors. *https://fedoraproject.org/wiki/Toolchain/PortingToModernC Thank you for creating a follow-up issue. |