This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22296] glibc 2.26: signbit build issue with Gcc 5.5.0 on x86_64


https://sourceware.org/bugzilla/show_bug.cgi?id=22296

--- Comment #1 from romain.naour at gmail dot com ---
Created attachment 10530
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10530&action=edit
libstdc++-v3 config.log

There is the same issue while configuring libstdc++:

configure:16710: checking for ISO C99 support in <math.h>
configure:16779: 
/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/build/host-gcc-final-5.5.0/build/./gcc/xgcc
-shared-libgcc
-B/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/build/host-gcc-final-5.5.0/build/./gcc
-nostdinc++
-L/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/build/host-gcc-final-5.5.0/build/x86_64-buildroot-linux-gnu/libstdc++-v3/src
-L/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/build/host-gcc-final-5.5.0/build/x86_64-buildroot-linux-gnu/libstdc++-v3/src/.libs
-L/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/build/host-gcc-final-5.5.0/build/x86_64-buildroot-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/host/x86_64-buildroot-linux-gnu/bin/
-B/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/host/x86_64-buildroot-linux-gnu/lib/
-isystem
/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/host/x86_64-buildroot-linux-gnu/include
-isystem
/home/naourr/toolchains/x86_64-gcc5.5-glibc-2.26.x/host/x86_64-buildroot-linux-gnu/sys-include
   -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 -Os  -D_GNU_SOURCE -std=c++98 -fno-exceptions   conftest.cpp  -lm >&5
In file included from conftest.cpp:36:0:
conftest.cpp: In function 'int main()':
conftest.cpp:47:11: error: expected primary-expression before '__typeof'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: expected primary-expression before 'float'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: '__builtin_types_compatible_p' was not declared in
this scope
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: expected primary-expression before '__typeof'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: expected primary-expression before 'double'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: expected primary-expression before '__typeof'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: expected primary-expression before 'long'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: '__builtin_choose_expr' was not declared in this
scope
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: '__builtin_choose_expr' was not declared in this
scope
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: redeclaration of
'<typeprefixerror>__builtin_choose_expr'
conftest.cpp:47:11: note: previous declaration
'<typeprefixerror>__builtin_choose_expr'
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: '__builtin_choose_expr' was not declared in this
scope
       i = signbit(d1);
           ^
conftest.cpp:47:11: error: redeclaration of
'<typeprefixerror>__builtin_choose_expr'
conftest.cpp:47:11: note: previous declaration
'<typeprefixerror>__builtin_choose_expr'
       i = signbit(d1);
           ^
configure:16779: $? = 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]