FS#67791 - [gcc] man pages for gcov-dump and lto-dump but binaries missing

Attached to Project: Arch Linux
Opened by Ralph Corderoy (RalphCorderoy) - Tuesday, 01 September 2020, 12:06 GMT
Last edited by freswa (frederik) - Thursday, 10 February 2022, 00:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Searching https://www.archlinux.org/packages/core/x86_64/gcc/files/
for '-dump' shows the man pages for gcov-dump and lto-dump
but the binaries are not installed. I expect it's something simple
like PKGBUILD having to install them.

I'm trying to poke about LTO Gimple so noticed the lack of lto-dump.
This task depends upon

Closed by  freswa (frederik)
Thursday, 10 February 2022, 00:57 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Man pages would be available when offload support is enabled
Comment by Bartłomiej Piotrowski (Barthalion) - Friday, 04 September 2020, 06:09 GMT
This seems to be built depending on whether offloading support is enabled. There's a separate issue about it: https://bugs.archlinux.org/task/63227
Comment by Ralph Corderoy (RalphCorderoy) - Friday, 04 September 2020, 07:38 GMT
I take your word for it, but it would seem odd as I can produce 'fat' objects now containing both machine code and GIMPLE for link-time optimisation to use later so I assumed lto-dump(1) would be available to inspect that GIMPLE.

echo 'int foo(int a, int b) {return a * b;}' >foo.c
cc -c -Os -o foo.o foo.c
cc -c -Os -o foo-lto.o -flto=`nproc` -ffat-lto-objects foo.c
readelf -WS foo.o
readelf -WS foo-lto.o

Loading...