grub-hybrid fails to build on aarch64-linux: error: --enable-stack-protector is not supported

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal

Debbugs page

Christopher Baines wrote 4 years ago
(address . bug-guix@gnu.org)(address . me@tobias.gr)
87tulv8ijo.fsf@cbaines.net
This is the relevant derivation [1], this change was probably introduced
here [2].

1: /gnu/store/vmpn3xk6mzns9zvq7dvlpj67ld3fv48p-grub-hybrid-2.06.drv


checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-fstack-protector-strong'... yes
checking whether `gcc' accepts `-mstack-protector-guard=global'... no
configure: error: --enable-stack-protector is not supported (compiler doesn't support -mstack-protector-guard=global)
command "/gnu/store/7sfbiqh21h90bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/7sfbiqh21h90bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/7sfbiqh21h9
0bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/f03p2i9fkngmx90npzl8igqy5h4w0z97-grub-hybrid-2.06" "--enable-fast-install" "--build=aarch64-unknown-linux-gnu" "--with-platform=efi" "--enabl
e-stack-protector" "PYTHON=true" failed with status 1
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmDMkRtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xc3GBAAn5ySLapXMy9cm7VQEFFnD+IIWQ50MvZj
514HjAQbQcLIGH6VWtqCSHSfpTcMxJ89vR+FSsPAT0YfOpGpZqJ8CxVMMp1bJKFr
6N0/x9dADcB62Gdci/NdT8M5j8agDtZnmkPeP3agDA5Pg2DGk+Uu9n2zMymQOck7
kwrrKIYuJN6rD3DhvPJyr0htSKrowPR7ryhyLmPd0lLjCsjTEihXWyBO1+gXYMsW
gdsI9jtXOD1ONSLBjJKQtoopi1XMPszWxc37Ir7fbaaVd7z3LeyWfhS8+XryLHIU
OvK5XOZHqy+v7a3K/8jmbejhjJI7YIntOjVPyqPMXmdp/DxKFPDhCXKsYz9mGCba
oPPB3RVxuGgjhFbosBrPw/lSTwNXq7zC3hj3BSbxln4xUNPsKlyMId+ptAPAuNQS
+G7GvSA2Wgi5LljyTDdGcUIhKTYLdnxDzZLHOr4cnUaRHcDjPpz+ulWwbD0odp3d
lmoX1FzTDegnOePlTHegMb3QsnevUzU0SJ98H95r8d2f9Mp+Zyi6l8HV4RGTQWZq
njLkFEJAphK0w4tjwj2VvuUqlmJGyvOckAD5LPBwXRFmV9vVBS8XTdDREzHRJdWX
B3HG8vhGMqC9Au1+K5G9oOS27b7kKH2i7Gg+2Cp4ySokqhBTMbX+ua4nAMAc+vth
+jJEJ9hYQMs=
=FJ2t
-----END PGP SIGNATURE-----

Christopher Baines wrote 4 years ago
(address . 49088-done@debbugs.gnu.org)
87eech7gv4.fsf@cbaines.net
Christopher Baines <mail@cbaines.net> writes:

Toggle quote (15 lines)
> This is the relevant derivation [1], this change was probably introduced
> here [2].
>
> 1: /gnu/store/vmpn3xk6mzns9zvq7dvlpj67ld3fv48p-grub-hybrid-2.06.drv
> 2: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=018f95094153660e3041ec160718f0bda286a3dc
>
>
> checking whether `gcc' accepts `-fstack-protector'... yes
> checking whether `gcc' accepts `-fstack-protector-strong'... yes
> checking whether `gcc' accepts `-mstack-protector-guard=global'... no
> configure: error: --enable-stack-protector is not supported (compiler doesn't support -mstack-protector-guard=global)
> command "/gnu/store/7sfbiqh21h90bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/7sfbiqh21h90bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/7sfbiqh21h9
> 0bc6zi8br1xh60m6qgdd5-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/f03p2i9fkngmx90npzl8igqy5h4w0z97-grub-hybrid-2.06" "--enable-fast-install" "--build=aarch64-unknown-linux-gnu" "--with-platform=efi" "--enabl
> e-stack-protector" "PYTHON=true" failed with status 1

I've pushed fd549750d9ab23a0505aeb4c03e1299e860a4f16 which fixes this.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmDeT99fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfmqxAAiovhL38bApnwhDycMP9Iyfj6ilLwj1hc
Ug8TEzGs58XbF0A2kMhJGQmw9RORprguF/GUsOAHLwpKgeEZ6MHTjz6oLQnS3tAl
rzYoCdB6+9DA7IJGYhNOIsQICGzElC6n3SDacODcFNCuuJQIZEzr3jIr1Fh9NvCw
5IZl1z7gcUdWXZGrlfbMuDFG7Q11go6hxZWnNxFhPyGHPnTP1DV/1SAnsH5QJGqW
XNplz+je6olun8SyO45Yr2Tj5X4z0h/ug/aJ1xthGLMDulq2VbKIEdDxtr6B097H
EQv/wx9ouz+n5s/5JUfrJkByUGArblSBn1OLN+9IdbjfEaEnIoSClhvuQ78jJ7ct
bSke1gakdUbHAwYLX3RF8epF9rHiTOJQZng5GhENO8TYobyqpH6uyCCJ7kNyPOKm
1Z4yfjeLSCV9w1328AW36MuU6X5bsKyIsRJTO0Pteop6BCZ0f3PObTsGwE7s2miJ
4HhdKHCKW5igk9nNcpz/xV1xvFk3pC6jWXWjp68w82LA2QL3SWh6QIic6d2G5xW1
0RQbNkvKq5kWsyJDK+Tt6g7kr5CNvP3RH4+S1+hprw6Gb9KXnaUS3rH65ggiqgei
/bulE/65cXOviR7YmpFc2WfqlB7PAR+eTu7scW9YmQvAtIbixVmuXg+zLbkOLBUa
Lj+PK1x7R+g=
=gSsu
-----END PGP SIGNATURE-----

Closed
Tobias Geerinckx-Rice wrote 4 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 49088@debbugs.gnu.org)
871r8hk38u.fsf@nckx
Chris,

Thanks for catching, fixing, and committing this! I managed to
miss your original CC.

I need to configure mu4e to make ‘personal’ mail stand out from
the din somehow…

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYN5TkQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15fJABAKYoQbwSHNr/fpiKtmL+DiPQ1BeIBLApOSwCGuml
mBHbAQDCqt8tBi3llFaWC01F2aEG1t0eUw4Tp02XD/KibeLlBQ==
=5Dzz
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 49088@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49088
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help