From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6414 invoked by alias); 13 Apr 2013 16:10:24 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 6401 invoked by uid 89); 13 Apr 2013 16:10:23 -0000 X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-bk0-f41.google.com (HELO mail-bk0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 13 Apr 2013 16:10:22 +0000 Received: by mail-bk0-f41.google.com with SMTP id i18so1772093bkv.28 for ; Sat, 13 Apr 2013 09:10:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=vZ7PuP3vSYWYT2UsLsoPa52sg/F8hn8UZIhuRs9KZow=; b=l8QlKb+qORO2VS/VdY76JkJlWSjdMJcgCEEC+aeAycYEh0unK5mLMadBJm7M4MSLNQ 3xriEpiMgVRXa0dbbJ730cLYxdzg13eXNcXSZZAPl05G9yO7Ge4PZWfOE4X/n26MOd5g LfCKFPzzgSVQjoPlo1R/Aj9uvKg5lFHDprH2oI905isScyw6a25CaOUkwDX0Hey70Pk6 F2C0+3cT1umTu88t0sxSEGW4T7VkRPD5Z/BLHTOHNvF08MXACaGy9JQxRcmmgiuCj7x3 rMk443FS8UtKJehazxYz/KI2c+0VEAfyBQy3BxW1APlF8m8cyCBf66zHnolhYu7OlSDI 7dtA== X-Received: by 10.204.191.17 with SMTP id dk17mr5659876bkb.75.1365869417912; Sat, 13 Apr 2013 09:10:17 -0700 (PDT) Received: from loki.rebirth ([95.111.79.112]) by mx.google.com with ESMTPS id js7sm5596051bkb.9.2013.04.13.09.10.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Apr 2013 09:10:17 -0700 (PDT) Message-ID: <51698367.3020502@belemezov.net> Date: Sat, 13 Apr 2013 16:10:00 -0000 From: Philip Belemezov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: "Yann E. MORIN" CC: crossgcc@sourceware.org Subject: Re: [PATCH 2 of 2] libc/eglibc: [OS X] Don't Redefine Already Defined Types in rpc/types.h References: <0926f7ff958ad637d472.1364311532@Loki.local> <20130412215701.GB12092@free.fr> In-Reply-To: <20130412215701.GB12092@free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlrxGvu+bTa26DsYxKOQeKVjSxcjFJMUyyopCGImLNTzV55F3JCLPcwZfLzzIm2PamG++zh X-SW-Source: 2013-04/txt/msg00021.txt.bz2 On 13.04.2013 00:57, Yann E. MORIN wrote: > Philip, All, > > On Tue, Mar 26, 2013 at 05:25:32PM +0200, Philip Belemezov wrote: >> # HG changeset patch >> # User Philip Belemezov >> # Date 1364300929 -7200 >> # Node ID 0926f7ff958ad637d4727e4e02ed2900ce29291a >> # Parent fcdf7fc7fd1c00715c3d9651ff00d805ecfb8aa8 >> libc/eglibc: [OS X] Don't Redefine Already Defined Types in rpc/types.h >> >> Apple already defines the u_char, u_short, etc. types in . >> However, those are defined directly, without using the __u_char types. > > Ditto your previous patch. > > Regards, > Yann E. MORIN. > Yann, here's the error that lead me to create the above patch: [ALL ] x86_64-build_apple-darwin12.2.1-gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/config.h rpc_parse.c -o /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_parse.o -MMD -MP -MF /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_parse.o.dt -MT /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_parse.o -c [ALL ] mkdir /Volumes/cross-disk/test-osx/armv6-rpi-linux-gnueabihf/armv6-rpi-linux-gnueabihf/sysroot/usr/include/nfs [ALL ] /Volumes/cross-disk/test-osx/.build/tools/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/nfs/nfs.h /Volumes/cross-disk/test-osx/armv6-rpi-linux-gnueabihf/armv6-rpi-linux-gnueabihf/sysroot/usr/include/nfs/nfs.h [ALL ] x86_64-build_apple-darwin12.2.1-gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/config.h rpc_scan.c -o /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_scan.o -MMD -MP -MF /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_scan.o.dt -MT /Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_scan.o -c [ALL ] In file included from rpc_parse.c:39: [ERROR] rpc/types.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_char' [ERROR] rpc/types.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_short' [ERROR] rpc/types.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int' [ERROR] rpc/types.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_long' [ERROR] rpc/types.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'quad_t' [ERROR] rpc/types.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_quad_t' [ERROR] rpc/types.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fsid_t' [ERROR] rpc/types.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t' [ERROR] rpc/types.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t' [ALL ] In file included from rpc_main.c:51: [ALL ] proto.h:63:1: warning: "textdomain" redefined [ALL ] In file included from rpc_main.c:41: [ALL ] /usr/local/include/libintl.h:259:1: warning: this is the location of the previous definition [ALL ] In file included from rpc_scan.c:44: [ALL ] proto.h:63:1: warning: "textdomain" redefined [ALL ] In file included from rpc_scan.c:40: [ALL ] /usr/local/include/libintl.h:259:1: warning: this is the location of the previous definition [ERROR] make[3]: *** [/Volumes/cross-disk/test-osx/.build/armv6-rpi-linux-gnueabihf/build/build-libc-startfiles/sunrpc/cross-rpc_parse.o] Error 1 [ALL ] make[3]: *** Waiting for unfinished jobs.... [ERROR] make[2]: *** [sunrpc/install-headers] Error 2 [ERROR] make[1]: *** [install-headers] Error 2 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library headers & start files' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] [ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@380] [ERROR] >> called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143] [ERROR] >> called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60] [ERROR] >> called from: main[scripts/crosstool-NG.sh@632] -- Philip -- For unsubscribe information see http://sourceware.org/lists.html#faq