Summary: | app-shells/quoter-3.0_p2-r1 - gcc: error: unrecognized command line option ‘-mfpu=neon-vfpv3’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joe Harvell <landshark> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer, martin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=653898 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output of sudo armv7a-pip-linux-gnueabi-emerge --info
build.log |
Description
Joe Harvell
2018-04-26 02:06:55 UTC
Now watch it succeed when defining environment variable CC to point to the cross-compiler: joey@akita ~$ cat ~/bin/pipenv #!/bin/bash export CC=/usr/bin/armv7a-pip-linux-gnueabi-gcc exec $* joey@akita ~$ sudo ~/bin/pipenv armv7a-pip-linux-gnueabi-emerge -a1v app-shells/quoter * IMPORTANT: 4 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-shells/quoter-3.0_p2-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-shells/quoter-3.0_p2-r1::gentoo for /usr/armv7a-pip-linux-gnueabi/ >>> Installing (1 of 1) app-shells/quoter-3.0_p2-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ >>> Jobs: 1 of 1 complete Load avg: 4.56, 4.23, 4.09 >>> Auto-cleaning packages... >>> Using system located in ROOT tree /usr/armv7a-pip-linux-gnueabi/ >>> No outdated packages were found on your system. * IMPORTANT: 4 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. Not sure whether this is a valid bug against app-shells/quoter, sys-devel/crossdev, neither or both. I have a similar bug against sys-devel/gcc https://bugs.gentoo.org/show_bug.cgi?id=653898. But in this case setting CC, CXX and CPP doesn't fix it. I opened this bug because the ebuild is a simple Makefile. So it's easy to see that this ebuild does not support cross compiling other than by setting CC. And since sys-devel/crossdev doesn't set it, it makes me wonder how I know which packages do or do not support cross compiling other than by trying it. Created attachment 528538 [details]
build.log
Author: Jeroen Roovers <jer@gentoo.org> Date: Fri Apr 27 10:03:20 2018 +0200 app-shells/quoter: Respect CC (bug #654108). Package-Manager: Portage-2.3.31, Repoman-2.3.9 |