public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "2947868523 at qq dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16988] New: error: conflicting types for ‘pthread_attr_t’
Date: Mon, 26 May 2014 07:17:00 -0000	[thread overview]
Message-ID: <bug-16988-131@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 16988
           Summary: error: conflicting types for ‘pthread_attr_t’
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: 2947868523 at qq dot com
                CC: drepper.fsp at gmail dot com
             Flags: review+

glibc 2.18.0 + glibc-ports-2.15

configure ok
//-----------------------------------------------------------------------
unset LD_LIBRARY_PATH
unset CFLAGS
BUILD_CC=gcc CC=${TARGET}-gcc LD=${TARGET}-ld AR=${TARGET}-ar
RANLIB=${TARGET}-ranlib CFLAGS="-g -O2 -march=armv4t"
../../src/glibc-2.18/configure --build=i686-pc-linux-gnu --host=arm-linux
--target=$TARGET --prefix=$TARGET_PREFIX --disable-profile --enable-add-ons
--with-headers=$TARGET_PREFIX/include libc_cv_forced_unwind=yes 
libc_cv_c_cleanup=yes libc_cv_arm_tls=yes --enable-kernel=2.6.38
--with-binutils=$PREFIX/bin

error when make
//-----------------------------------------------------------------------
In file included from ../signal/signal.h:80:0,
                 from ../include/signal.h:5,
                 from ../misc/sys/param.h:28,
                 from ../include/sys/param.h:1,
                 from
../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../ports/sysdeps/arm/nptl/tls.h:55,
                 from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:31,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/siginfo.h:291:30: error: conflicting types for
‘pthread_attr_t’
 typedef union pthread_attr_t pthread_attr_t;
                              ^
In file included from ../posix/sys/types.h:270:0,
                 from ../include/sys/types.h:1,
                 from ../nptl/descr.h:26,
                 from ../ports/sysdeps/arm/nptl/tls.h:55,
                 from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:31,
                 from <stdin>:1:
../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h:45:3: note:
previous declaration of ‘pthread_attr_t’ was here
 } pthread_attr_t;
   ^
make[2]: *** [/home/lianhua/arm-linux/4.9.0/build/glibc/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/lianhua/arm-linux/4.9.0/src/glibc-2.18/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/lianhua/arm-linux/4.9.0/src/glibc-2.18'
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-22402-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon May 26 07:19:06 2014
Return-Path: <glibc-bugs-return-22402-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 13918 invoked by alias); 26 May 2014 07:19:06 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 13883 invoked by uid 48); 26 May 2014 07:19:02 -0000
From: "aj at suse dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16988] error:=?UTF-8?Q? conflicting types for ‘pthread_attr_t’?Date: Mon, 26 May 2014 07:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: aj at suse dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-16988-131-4AvlImdEfS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16988-131@http.sourceware.org/bugzilla/>
References: <bug-16988-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00185.txt.bz2
Content-length: 630

https://sourceware.org/bugzilla/show_bug.cgi?id\x16988

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aj at suse dot de
         Resolution|---                         |INVALID

--- Comment #1 from Andreas Jaeger <aj at suse dot de> ---
> glibc 2.18.0 + glibc-ports-2.15

You need glibc-ports 2.18 for glibc 2.18.

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


             reply	other threads:[~2014-05-26  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26  7:17 2947868523 at qq dot com [this message]
2014-05-26  7:22 ` [Bug build/16988] " 2947868523 at qq dot com
2014-06-12 19:11 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-16988-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).