thomas at archlinux.org
Fri Apr 5 05:09:41 EDT 2013
Am 05.04.2013 10:57, schrieb Allan McRae:
> On 05/04/13 18:34, Thomas Bächler wrote:
>> Am 01.04.2013 08:39, schrieb Allan McRae:
>>> Pacman-4.1.0 is released and in the [testing] repos. See my blog 
>>> for details of what is new in this release.
>>>  http://allanmcrae.com/2013/04/pacman-4-1-released/
>> The new default CPPFLAGS seem to break configure. cpp complains that
>> -D_FORTIFY_SOURCE=2 cannot be used without -O.
> I thought it fixed issues (e.g. curl).
> Or are we both just taking one package and wildly generalising...?
We are. This is what I got:
configure:6470: checking how to run the C preprocessor
configure:6501: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
In file included from /usr/include/limits.h:26:0,
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE
requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
configure:6501: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "shellinabox"
| #define PACKAGE_TARNAME "shellinabox"
| #define PACKAGE_VERSION "2.10"
| #define PACKAGE_STRING "shellinabox 2.10"
| #define PACKAGE_BUGREPORT "markus at shellinabox.com"
| #define PACKAGE_URL ""
| #define VCS_REVISION "239"
| #define PACKAGE "shellinabox"
| #define VERSION "2.10"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| # include <assert.h>
| Syntax error
Confusing here is that there is no error, just a warning, but it still
starts retrying different preprocessor command and eventually fails.
Appending -O2 to the CPPFLAGS fixed the build.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 901 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public