Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54848 - [mlton] mlton fails to link a working binary

Attached to Project: Community Packages
Opened by Chris Cannam (cannam) - Monday, 17 July 2017, 13:06 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 July 2017, 13:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

MLton can no longer compile any SML program to a working binary, as ld on a current Arch appears to reject both the libmlton and libgdtoa libraries because they were compiled without -fPIC.

Additional info:
* Tested with mlton-20130715-5
* Tested with both default (amd64/native) and C codegens
* Tested with both gcc-7.1.1-4 and gcc-multilib-7.1.1-4
* Tested on two separate systems, but both up-to-date with regard to other Arch packages.

All failing for me currently.

Steps to reproduce:
* Create a trivial SML test program called test.sml (mine just says "val x = 1")
* Run "mlton test.sml"
* Expected result: an executable called test is produced
* Actual result: a series of errors from /usr/bin/ld are printed (see attachment) and no executable is produced
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 17 July 2017, 13:10 GMT
Reason for closing:  Deferred
Additional comments about closing:  Covered by https://www.archlinux.org/todo/pie-rebui ld/

Loading...