Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729872 - dev-lang/fpc-3.2.2 fails to compile: clang-13: error: unsupported option '--64'
Summary: dev-lang/fpc-3.2.2 fails to compile: clang-13: error: unsupported option '--64'
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
: 776649 (view as bug list)
Depends on:
Reported: 2020-06-27 14:12 UTC by Agostino Sarubbo
Modified: 2021-12-18 07:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,17.95 KB, text/plain)
2020-06-27 14:13 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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

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 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:] 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.