| Summary: | swipl-ld error: unrecognized command line option '-mtu' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | osallou <olivier.sallou> |
| Component: | pl | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | bagnara, mefoster, ppisar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://groups.google.com/forum/embed/#!topic/swi-prolog/APOFiVd4xrk | ||
| Whiteboard: | |||
| Fixed In Version: | pl-7.2.3-3.fc25 pl-7.2.3-3.fc24 pl-7.2.3-2.fc23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-18 17:26:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
osallou
2016-04-13 07:27:04 UTC
I confirm swipl-ld produces invalid -mtu CC flag. It looks like something truncates the PLCFLAGS value. On the other hand, it worked on 2015-08-27. I found a compiled test on my machine. I think I found it. It's a bug in SWI swipl-ld. The src/swipl-ld.c parses "swipl --dump-runtime-variables" output. It segments lines into 256-byte long buffer. And fgets(3) hits the 256-byte limit on PLCFLAGS value: Fedora 22: $ swipl --dump-runtime-variables | grep PLCFLAGS | wc -c 222 Fedora 23: $ swipl --dump-runtime-variables | grep PLCFLAGS | wc -c 268 ok, upstream pushed a fix, thanks for analysis Waiting for new release... :-) I will try the fix and if everything is fine, I will push the fixed build into Fedora. Thanks for alerting the upstream. pl-7.2.3-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-12fe2d64e1 pl-7.2.3-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b55cb4ee46 pl-7.2.3-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-12fe2d64e1 pl-7.2.3-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b55cb4ee46 Tested fix on Fedora 23 from testing branch and it works fine pl-7.2.3-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. pl-7.2.3-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |