Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744931 - sys-boot/elilo-3.16-r3 does not respect CFLAGS/LDFLAGS
Summary: sys-boot/elilo-3.16-r3 does not respect CFLAGS/LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-cflags ldflags
  Show dependency tree
 
Reported: 2020-09-27 05:27 UTC by Agostino Sarubbo
Modified: 2020-09-27 15:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,20.91 KB, text/plain)
2020-09-27 05:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-27 05:27:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-boot/elilo-3.16-r3 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-27 05:27:53 UTC
Created attachment 662626 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-09-27 08:31:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32794f6d9f1b9aafa7b89b9162eb1b7083252b6

commit d32794f6d9f1b9aafa7b89b9162eb1b7083252b6
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-09-27 08:31:35 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-09-27 08:31:52 +0000

    sys-boot/elilo: pass *FLAGS to eliloalt
    
    The primary build target is a PE-EFI target.
    But auxiliary binaries are native binaries.
    
    Provide NATIVE_* variables to pass native opt flags.
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/744931
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-boot/elilo/elilo-3.16-r4.ebuild         | 93 +++++++++++++++++++++++++++++
 sys-boot/elilo/files/elilo-3.16-FLAGS.patch | 19 ++++++
 2 files changed, 112 insertions(+)