Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639772 - sys-boot/grub-0.97-r16 fails building after switching to the 17.0 profiles
Summary: sys-boot/grub-0.97-r16 fails building after switching to the 17.0 profiles
Status: RESOLVED DUPLICATE of bug 608460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 14:27 UTC by Robert Meyer
Modified: 2017-12-05 01:23 UTC (History)
3 users (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 Robert Meyer 2017-12-04 14:27:06 UTC
sys-boot/grub-0.97-r16 fails to build, because the 17.0 profile defaults to pie executables. This is taken care of in 860_all_grub-0.97-pie.patch, but there the command line switch is -nopie, instead of -no-pie. Changing 860_all_grub-0.97-pie.patch allowd me to build sys-boot/grub-0.97-r16.
peregrin ~ # diff patch/860_all_grub-0.97-pie.patch patch/860_all_grub-0.97-pie.patch.new
20,21c20,21
< +      STAGE1_CFLAGS="$STAGE1_CFLAGS -nopie"
< +      STAGE2_CFLAGS="$STAGE2_CFLAGS -nopie"
---
> +      STAGE1_CFLAGS="$STAGE1_CFLAGS -no-pie"
> +      STAGE2_CFLAGS="$STAGE2_CFLAGS -no-pie"
Comment 1 Thomas Deutschmann gentoo-dev Security 2017-12-05 01:23:42 UTC

*** This bug has been marked as a duplicate of bug 608460 ***