From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7400 invoked by alias); 16 Dec 2018 18:46:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 6844 invoked by uid 89); 16 Dec 2018 18:46:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,SPF_PASS autolearn=ham version=3.3.2 spammy=myself, Hx-languages-length:1427, numbering, cure X-HELO: smtp.fgznet.ch Received: from smtp.fgznet.ch (HELO smtp.fgznet.ch) (157.161.14.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Dec 2018 18:46:21 +0000 Received: from [192.168.225.14] (dhclient-91-190-10-49.flashcable.ch [91.190.10.49]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by fgznet.ch (Postfix) with ESMTPSA id 2C416C632E; Sun, 16 Dec 2018 19:46:19 +0100 (CET) Subject: Re: [patch] Fix bootstrap powerpc*-*-freebsd* targets From: Andreas Tobler To: GCC Patches , Segher Boessenkool References: Message-ID: <7d04429f-e633-0b5b-0d69-eae3c86634ca@fgznet.ch> Date: Sun, 16 Dec 2018 18:46:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg01181.txt.bz2 On 12.12.18 21:32, Andreas Tobler wrote: > this patch fixes bootstrap for my powerpc*-unknown-freebsd* targets. > The definition of GNU_USER_DYNAMIC_LINKER was recently moved to linux.h. > > But the GNU_USER_DYNAMIC_LINKER is still used in rs6000/sysv4.h. > So I add an empty definition with guard to cure the bootstrap issue. > > Ok for trunk? This is another attemtp to fix bootstrap on powerpc*-unknown-freebsd* only. This one is only for FreeBSD and so I can approve and apply myself. Objections? TIA, Andreas 2018-12-16 Andreas Tobler * config/rs6000/freebsd.h: Add an empty definition for GNU_USER_DYNAMIC_LINKER. * config/rs6000/freebsd64.h: Likewise. Index: freebsd.h =================================================================== --- freebsd.h (revision 267190) +++ freebsd.h (working copy) @@ -72,4 +72,8 @@ /* Use standard DWARF numbering for DWARF debugging information. */ #define RS6000_USE_DWARF_NUMBERING +#ifndef GNU_USER_DYNAMIC_LINKER +#define GNU_USER_DYNAMIC_LINKER "" +#endif + #define POWERPC_FREEBSD Index: freebsd64.h =================================================================== --- freebsd64.h (revision 267190) +++ freebsd64.h (working copy) @@ -421,4 +421,8 @@ #define USE_LD_AS_NEEDED 1 #endif +#ifndef GNU_USER_DYNAMIC_LINKER +#define GNU_USER_DYNAMIC_LINKER "" +#endif + #define POWERPC_FREEBSD