Summary: | dev-lang/ruby-2.3.7::gentoo Fails to compile with specific CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Povilas Brilius <pbrilius> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | bkohler, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Elog
Build log with conservative cflags FEATURES="-ccache" emerge =dev-lang/ruby-2.3.7 build log |
Description
Povilas Brilius
2018-05-25 14:43:33 UTC
Your CFLAGS are very scary. Povilas, you have set CFLAGS="-march=bdver4 -Ofast -pipe -fvect-cost-model=unlimited -fsimd-cost-model=unlimited -fsched2-use-superblocks -fmodulo-sched -fmodulo-sched-allow-regmoves -faggressive-loop-optimizations" could you retest with more conservative CFLAGS and report back, please? You can start with CFLAGS="-march=native -O2 -pipe" for example. Perhaps you can even point out which flags lead to problems. Created attachment 533424 [details]
Build log with conservative cflags
CFLAGS="-O2 -march=native -pipe" was set to dev-lang/ruby only Can you also try with ccache disabled? Created attachment 533426 [details]
FEATURES="-ccache" emerge =dev-lang/ruby-2.3.7 build log
This looks like maybe an openssl-1.1 failure, what version of openssl do you have? v1.1.1_pre6, it's a development installation ~amd64 *** This bug has been marked as a duplicate of bug 614760 *** |