public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/60644] New: [4.9 Regression] Build of i686-pc-linux-android is broken
@ 2014-03-25  6:36 aivchenk at gmail dot com
  2014-03-25  6:44 ` [Bug bootstrap/60644] " pinskia at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: aivchenk at gmail dot com @ 2014-03-25  6:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644

            Bug ID: 60644
           Summary: [4.9 Regression] Build of i686-pc-linux-android is
                    broken
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aivchenk at gmail dot com

> ../gcc_mainline/configure --target=i686-linux-android --disable-bootstrap --enable-languages=c,c++ --with-sysroot=[..]ndk/android-ndk-r9d/platforms/android-19/arch-x86 --disable-shared --disable-libitm --disable-libsanitizer


> make
[..]
../../../gcc_mainline/libcilkrts/runtime/os-unix.c: In function ‘linux_gettid’:
../../../gcc_mainline/libcilkrts/runtime/os-unix.c:293:20: error: ‘SYS_gettid’
undeclared (first use in this function)
     return syscall(SYS_gettid);
                    ^
../../../gcc_mainline/libcilkrts/runtime/os-unix.c:293:20: note: each
undeclared identifier is reported only once for each function it appears in
../../../gcc_mainline/libcilkrts/runtime/os-unix.c: In function
‘__cilkrts_yield’:
../../../gcc_mainline/libcilkrts/runtime/os-unix.c:419:5: warning: implicit
declaration of function ‘pthread_yield’ [-Wimplicit-function-declaration]
     pthread_yield();
     ^
make[2]: *** [os-unix.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/spin_mutex.Tpo .deps/spin_mutex.Plo
mv -f .deps/worker_mutex.Tpo .deps/worker_mutex.Plo
mv -f .deps/stats.Tpo .deps/stats.Plo
mv -f .deps/signal_node.Tpo .deps/signal_node.Plo
mv -f .deps/symbol_test.Tpo .deps/symbol_test.Plo
mv -f .deps/sysdep-unix.Tpo .deps/sysdep-unix.Plo
make[2]: Leaving directory
`/export/users/aivchenk/src/android_gcc_obj/i686-linux-android/libcilkrts'
make[1]: *** [all-target-libcilkrts] Error 2
make[1]: Leaving directory `/export/users/aivchenk/src/android_gcc_obj'
make: *** [all] Error 2
>From gcc-bugs-return-447357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 25 06:40:44 2014
Return-Path: <gcc-bugs-return-447357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29060 invoked by alias); 25 Mar 2014 06:40:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29030 invoked by uid 48); 25 Mar 2014 06:40:40 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/60644] [4.9 Regression] Build of i686-pc-linux-android is broken
Date: Tue, 25 Mar 2014 06:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60644-4-HaPDKSU6v3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60644-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg02226.txt.bz2
Content-length: 420

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`644

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
If SYS_gettid is not defined, then it is a bug in the bionic libc headers as
NR_gettid is defined in the kernel headers.

Also pthread_yield should be defined in pthread.h if it is not then it is again
a bug in bionic.

For no you can use --disable-libcilkrts as a workaround for bionic being
broken.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-06-26 20:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25  6:36 [Bug bootstrap/60644] New: [4.9 Regression] Build of i686-pc-linux-android is broken aivchenk at gmail dot com
2014-03-25  6:44 ` [Bug bootstrap/60644] " pinskia at gcc dot gnu.org
2014-03-25  6:52 ` aivchenk at gmail dot com
2014-03-25  6:52 ` aivchenk at gmail dot com
2014-03-25  9:27 ` rguenth at gcc dot gnu.org
2014-03-25 15:28 ` jakub at gcc dot gnu.org
2014-03-31  9:50 ` rguenth at gcc dot gnu.org
2014-03-31 10:02 ` aivchenk at gmail dot com
2014-04-11 19:57 ` [Bug bootstrap/60644] [4.9/4.10 " bviyer at gcc dot gnu.org
2014-04-14  7:58 ` aivchenk at gmail dot com
2014-04-17 11:53 ` kyukhin at gcc dot gnu.org
2014-04-22 11:38 ` jakub at gcc dot gnu.org
2014-07-16 13:31 ` jakub at gcc dot gnu.org
2014-10-30 10:43 ` [Bug bootstrap/60644] [4.9/5 " jakub at gcc dot gnu.org
2015-06-26 20:02 ` [Bug bootstrap/60644] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:32 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).