Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729872

Summary: dev-lang/fpc-3.2.2 fails to compile: clang-13: error: unsupported option '--64'
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: CONFIRMED ---    
Severity: normal CC: lssndrbarbieri
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-27 14:12:55 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: dev-lang/fpc fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-27 14:13:00 UTC
Created attachment 646770 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-16 10:24:43 UTC
*** Bug 776649 has been marked as a duplicate of this bug. ***
Comment 3 andy 2021-05-23 19:40:23 UTC
fails for me to with gcc-11 : 
/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
make[5]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
./msg2inc msg/errore.msg msg msg
make[4]: *** [Makefile:3858: msgtxt.inc] Segmentation fault
Comment 4 Katherine Peeters 2021-10-18 23:19:45 UTC
Also failing for me with sys-devel/gcc-10.3.0-r1, same error message.
Comment 5 Katherine Peeters 2021-10-18 23:28:03 UTC
After doing some testing, it seems this issue does not occur when building dev-lang/fpc-3.2.2, so perhaps dev-lang/fpc-3.0.4 should be masked as ~amd64?
Comment 6 Agostino Sarubbo gentoo-dev 2021-12-18 07:29:20 UTC
tinderbox has reproduced this issue with version 3.2.2 - Updating summary.