Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 744931

Summary: sys-boot/elilo-3.16-r3 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

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(+)