This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Build error for tst-printf-bz18872 on arm/aarch64
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 18 Sep 2015 17:31:18 -0300
- Subject: Re: Build error for tst-printf-bz18872 on arm/aarch64
- Authentication-results: sourceware.org; auth=none
- References: <55FC4EDB dot 3040807 at linaro dot org> <alpine dot DEB dot 2 dot 10 dot 1509181811160 dot 11870 at digraph dot polyomino dot org dot uk>
On 18-09-2015 15:12, Joseph Myers wrote:
> On Fri, 18 Sep 2015, Adhemerval Zanella wrote:
>
>> /home/adhemerval.zanella/glibc/glibc-git-build-aarch64/stdio-common/tst-printf-bz18872.c:2018:9: error: #pragma GCC target is not supported for this machine [-Werror=pragmas]
>
> But that error doesn't make sense; it's #pragma GCC optimize, not #pragma
> GCC target.
>
> Perhaps the optimize attribute works better than the pragma (of course, it
> needs to solve the large compile time as well)?
>
I did not dig into this issue from compiler side, bug checking on bugzilla
it might due BZ#59884 [1]. Nevertheless this is an existing issue.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884