This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/18319] New: make check fails for -Werror=inline
- From: "simon at keinstein dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 24 Apr 2015 14:20:27 +0000
- Subject: [Bug build/18319] New: make check fails for -Werror=inline
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18319
Bug ID: 18319
Summary: make check fails for -Werror=inline
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: simon at keinstein dot org
CC: carlos at redhat dot com
Hi,
'make check' fails with with the error shown below.
glibc version:
commit 8666ab5c42b0959129f3c37950eef5db2e5f0fea
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date: Fri Apr 24 13:36:23 2015 +0200
gcc: gcc version 4.7.2 (Debian 4.7.2-5)
./config.status --config: '--prefix=/home/simon/local/glibc-git'
$ make check
[...]
gcc tst-scratch_buffer.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Werror
-Winline -Wno-error=undef -Wundef -Wwrite-strings -fmerge-all-constants o
In file included from tst-scratch_buffer.c:19:0:
tst-scratch_buffer.c: In function âdo_testâ:
../include/scratch_buffer.h:85:1: error: inlining failed in call to
âscratch_buffer_freeâ: call is unlikely and code size would grow [-Werror=inl]
tst-scratch_buffer.c:79:25: error: called from here [-Werror=inline]
In file included from tst-scratch_buffer.c:19:0:
../include/scratch_buffer.h:85:1: error: inlining failed in call to
âscratch_buffer_freeâ: call is unlikely and code size would grow [-Werror=inl]
tst-scratch_buffer.c:93:25: error: called from here [-Werror=inline]
In file included from tst-scratch_buffer.c:19:0:
../include/scratch_buffer.h:85:1: error: inlining failed in call to
âscratch_buffer_freeâ: call is unlikely and code size would grow [-Werror=inl]
tst-scratch_buffer.c:119:25: error: called from here [-Werror=inline]
In file included from tst-scratch_buffer.c:19:0:
../include/scratch_buffer.h:85:1: error: inlining failed in call to
âscratch_buffer_freeâ: call is unlikely and code size would grow [-Werror=inl]
tst-scratch_buffer.c:141:25: error: called from here [-Werror=inline]
cc1: all warnings being treated as errors
make[2]: *** [/home/simon/build/glibc/malloc/tst-scratch_buffer.o] Fehler 1
make[2]: Leaving directory `/home/simon/glibc/malloc'
make[1]: *** [malloc/tests] Fehler 2
make[1]: Leaving directory `/home/simon/glibc'
make: *** [check] Fehler 2
Cheers,
Simon
--
You are receiving this mail because:
You are on the CC list for the bug.