Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591888 - sys-boot/efibootmgr-13: uses "-flto"
Summary: sys-boot/efibootmgr-13: uses "-flto"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2016-08-23 00:20 UTC by .
Modified: 2024-03-12 06:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description . 2016-08-23 00:20:26 UTC
```
>>> Compiling source in /tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13 ...
make
make[1]: Entering directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
make -f /tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include"
make[2]: Entering directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"     -MM -MG -MF .efibootmgr.d efibootmgr.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"     -MM -MG -MF .efi.d efi.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"     -MM -MG -MF .unparse_path.d unparse_path.c
make[2]: Leaving directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
make[1]: Leaving directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
make[1]: Entering directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
make -f /tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include"
make[2]: Entering directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
make[2]: Nothing to be done for 'deps'.
make[2]: Leaving directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -c -o efibootmgr.o efibootmgr.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -c -o efi.o efi.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -c -o unparse_path.o unparse_path.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -c -o efibootdump.o efibootdump.c
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -Wl,-O1 -Wl,--as-needed     -o efibootmgr efibootmgr.o efi.o unparse_path.o  -lefivar -lefiboot
x86_64-pc-linux-gnu-gcc -pipe -O1 -march=x86-64 -mtune=generic -g1 -fno-stack-protector -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mfxsr -I/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src/include -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -flto -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\"   -I/usr/include/efivar  -Wl,-O1 -Wl,--as-needed     -o efibootdump efibootdump.o unparse_path.o  -lefivar -lefiboot -lpopt
make[1]: Leaving directory '/tmp/portage/sys-boot/efibootmgr-13/work/efibootmgr-13/src'
>>> Source compiled.
```
Comment 1 Mike Gilbert gentoo-dev 2016-08-23 01:31:14 UTC
So... what's the problem?
Comment 2 . 2016-08-23 13:20:35 UTC
Shouldn't all optimization flags be handled by the user only?
Comment 3 Mike Gilbert gentoo-dev 2016-08-23 14:19:02 UTC
Thanks for the report. I sent patches upstream.