View previous topic :: View next topic |
Author |
Message |
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Tue Mar 21, 2017 1:27 am Post subject: ARMv7 emake failing on emerge: package sys-libs/db-5.3.28-r2 |
|
|
Hi,
I've been trying to update my BananaPi for 2 weeks now but a package is causing emerge to fail every time. I've already tried to mask it to see if I could move forward but it seems necessary for many packages including Python.
Could this be a portage tree problem? Any simple way to fix it? I've posted the emerge --info in the link below.
http://pastebin.com/n4Bhqb8B
Thank you in advance.
Nelson |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31277 Location: here
|
Posted: Tue Mar 21, 2017 6:42 am Post subject: |
|
|
You can post build.log of package that fail with wgetpaste? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Mar 21, 2017 11:34 am Post subject: |
|
|
Moved from Portage & Programming to Gentoo on Alternative Architectures.
Its an ARM board _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31277 Location: here
|
Posted: Wed Mar 22, 2017 6:48 am Post subject: |
|
|
Code: | /var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/sql/generated/sqlite3.c:20038:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. |
Remove -ffast-math CLFAGS on your make.conf _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
nelsonwcf Tux's lil' helper
Joined: 31 Oct 2012 Posts: 112
|
Posted: Wed Mar 22, 2017 10:27 pm Post subject: |
|
|
fedeliallalinea wrote: | Code: | /var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/sql/generated/sqlite3.c:20038:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. |
Remove -ffast-math CLFAGS on your make.conf |
Awesome. It fixed it. A question, though: I have been using these flags for more than a year and I never had problems before (together with -O3). Why would this specific version of this package cause problems with this -ffast-math?
Thank you,
Nelson |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22694
|
Posted: Thu Mar 23, 2017 1:27 am Post subject: |
|
|
Per info gcc: info '(gcc.info)Optimize Options': | `-ffast-math'
...
This option is not turned on by any `-O' option besides `-Ofast'
since it can result in incorrect output for programs that depend
on an exact implementation of IEEE or ISO rules/specifications for
math functions. It may, however, yield faster code for programs
that do not require the guarantees of these specifications. | Presumably, the authors require some of the guarantees of those standards. The authors believe, whether or not correctly, that removing those guarantees causes their program to break, so they included a specific check to disallow building the program with -ffast-math. |
|
Back to top |
|
|
|