From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85648 invoked by alias); 10 Feb 2020 21:47:21 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 85635 invoked by uid 89); 10 Feb 2020 21:47:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*c:alternative X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Feb 2020 21:47:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581371238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6WteoMZD8eiVcgj38x7J34PuCGwfiOi02v12eWMHrB4=; b=fDaXM6YMssGx6kszb86ABQzBdAstsnhgIQmJi3qtH7Arl0LndDH6Cjd/1lH12hKL7Fgd8A VJ4VBhEVKDKdLr7vIs7pQlrGKGeGEsN+BiihwqjUKvMTjCTuMBB6kOD9ncUSEeDNjcXcsp 5bb24VexgBB2BU3WH0EcwuJ48RvVHuw= Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-2-Th502OaPOB-WPgr-1s_W7A-1; Mon, 10 Feb 2020 16:47:13 -0500 Received: by mail-il1-f198.google.com with SMTP id s9so7873307ilk.0 for ; Mon, 10 Feb 2020 13:47:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jeff Johnston Date: Mon, 10 Feb 2020 21:47:00 -0000 Message-ID: Subject: Re: Symlinks in Newlib break mingw host builds To: joel@rtems.org Cc: Newlib , Chris Johns X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020/txt/msg00081.txt On Mon, Feb 10, 2020 at 11:16 AM Joel Sherrill wrote: > Hi > > The following patch in newlib adds links as part of the i386/x86_64 fenv > support. Windows does not have symlinks and it is emulated as copy. > This complicates a bsdtar extraction of source. > > https://github.com/RTEMS/sourceware-mirror-newlib- > cygwin/commit/cfc4955234828881145a20987c8a0a3cd373585c > > We tried to extract the tar file a second time, this has worked with > other tar files with symlinks however it does not work. We don't know why. > > My current best idea is to replace all the symlinks in those libm > directories > with a short file that includes the file instead of symlinking to it. > Sounds fine. Please go ahead. > Any other thoughts to eliminate the symlinks since they cause issues. > > --joel > >