Summary: | dev-lang/gprolog-1.4.5 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Prolog project <prolog> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lssndrbarbieri |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
build.log
llvm-as fail |
Description
Agostino Sarubbo
2020-08-14 06:50:52 UTC
Created attachment 654564 [details]
build.log
build log and emerge --info
The issue here isn't clang but llvm-ar and company Created attachment 693351 [details]
llvm-as fail
Using llvm-as looks suspicious. gprolog converts (Prolog) VM instructions into AT&T assembler. AFAIK llvm-as requires LLVM assembler as an input, whereas clang itself should be used to compile AT&T assembler. A workaround could be to patch the configure script to check for "clang" rather than "as" for the assembler if $CC == clang. This is now fixed in git. |