Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490210 - dev-libs/libmemcached-1.0.17-r4 ignores CFLAGS/CXXFLAGS
Summary: dev-libs/libmemcached-1.0.17-r4 ignores CFLAGS/CXXFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 22:54 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-03-01 20:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2013-11-02 22:54:12 UTC
...
config.status: executing libtool commands
---
Configuration summary for libmemcached version 1.0.17

   * Installation prefix:       /usr
   * System type:               pc-linux-gnu
   * Host CPU:                  x86_64
   * C Compiler:                x86_64-pc-linux-gnu-gcc (Gentoo 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3
   * C Flags:                    -H -ggdb -g -O0 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -std=c99 -Wunsuffixed-float-constants -Wjump-misses-init -Wno-attributes -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wformat-y2k -Wlogical-op -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wclobbered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -floop-parallelize-all -fwrapv -pipe
   * C++ Compiler:              x86_64-pc-linux-gnu-g++ (Gentoo 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3
   * C++ Flags:                  -H -ggdb -g -O0 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wformat-y2k -Wmaybe-uninitialized -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wc++11-compat -Wclobbered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security -floop-parallelize-all -fwrapv -pipe
   * CPP Flags:                  -fvisibility=hidden
   * LIB Flags:                 
   * Assertions enabled:        yes
   * Debug enabled:             yes
   * Shared:                    yes
   * Warnings as failure:       no
   * SASL support:              no
   * make -j:                   3
   * VCS checkout:              no

---
>>> Source configured.
...
 * QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/memflush
 * /usr/bin/memcat
 * /usr/bin/memcapable
 * /usr/bin/memstat
 * /usr/bin/memrm
 * /usr/bin/memerror
 * /usr/bin/memcp
 * /usr/bin/memslap
 * /usr/bin/memdump
 * /usr/bin/memparse
 * /usr/bin/memtouch
 * /usr/bin/memping
 * /usr/bin/memexist
 * /usr/lib64/libmemcachedutil.so.2.0.0
 * /usr/lib64/libhashkit.so.2.0.0
 * /usr/lib64/libmemcached.so.11.0.0
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-01-27 08:31:22 UTC
can you check 1.0.17-r1?1
Comment 2 Arfrever Frehtes Taifersar Arahesis 2014-01-28 18:12:18 UTC
Problem is still present.

Add -frecord-gcc-switches to CFLAGS, CXXFLAGS, FFLAGS and FCFLAGS (all of them) to enable check for respecting of them.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-09 05:14:37 UTC
oops, wrong bug...
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-09 06:05:17 UTC
fixed in 1.0.17-r3
Comment 5 Arfrever Frehtes Taifersar Arahesis 2014-02-09 07:15:08 UTC
Not fixed at all. CFLAGS/CXXFLAGS are still ignored in dev-libs/libmemcached-1.0.17-r3.
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-09 22:59:13 UTC
ok, try r4...
Comment 7 Arfrever Frehtes Taifersar Arahesis 2014-02-09 23:28:56 UTC
CFLAGS/CXXFLAGS are still ignored in dev-libs/libmemcached-1.0.17-r4.
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-09 23:31:47 UTC
How do you know this?

I am not getting any warnings like the first comment...
Comment 9 Arfrever Frehtes Taifersar Arahesis 2014-02-09 23:33:15 UTC
Show: portageq envvar -v CFLAGS CXXFLAGS FFLAGS FCFLAGS
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-10 22:26:00 UTC
CFLAGS='-O2 -pipe -march=nocona -fomit-frame-pointer'
CXXFLAGS='-O2 -pipe -march=nocona -fomit-frame-pointer'
FFLAGS='-O2 -pipe'
FCFLAGS='-O2 -pipe'
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-24 19:07:40 UTC
And this is why you should attach a build log and post your `emerge --info' output. A bug kind of drags along endlessly when people keep gesturing vaguely.

Might have to do with bug #514952.
Comment 12 Pacho Ramos gentoo-dev 2018-03-01 15:56:01 UTC
still valid with 1.0.18-r3?
Comment 13 Arfrever Frehtes Taifersar Arahesis 2018-03-01 20:24:07 UTC
Apparently fixed in dev-libs/libmemcached-1.0.18-r3.