From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28280 invoked by alias); 11 Jan 2017 19:14:52 -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 28258 invoked by uid 89); 11 Jan 2017 19:14:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*op.pl, H*F:D*pl X-HELO: smtpo46.poczta.onet.pl Received: from smtpo46.poczta.onet.pl (HELO smtpo46.poczta.onet.pl) (213.180.142.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Jan 2017 19:14:41 +0000 Received: from [192.168.2.253] (77-253-44-7.adsl.inetia.pl [77.253.44.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: freddie_chopin@op.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3tzJVH4cTkzTC28FN for ; Wed, 11 Jan 2017 20:14:30 +0100 (CET) Message-ID: <1484162070.1261.1.camel@op.pl> Subject: Re: [PATCH, newlib] Allow locking routine to be retargeted From: Freddie Chopin To: newlib@sourceware.org Date: Wed, 11 Jan 2017 19:14:00 -0000 In-Reply-To: <37230278-6fc6-b0f0-6254-c6e6882f5a99@foss.arm.com> References: <34e2c2ad-be0f-44ed-201e-a6f294814f4e@foss.arm.com> <5851557A.4080707@embedded-brains.de> <800fa569-cd83-bd61-95e3-7ad83e053d6c@foss.arm.com> <4409ff03-7c2f-550d-a57a-6b6503bd5933@foss.arm.com> <1483987769.1304.2.camel@op.pl> <6e978ca7-e90e-5fa9-84c4-19c24a993e4a@foss.arm.com> <1484068006.1266.1.camel@op.pl> <89891529-77aa-48af-50bf-aede537a5f1d@LGSInnovations.com> <37230278-6fc6-b0f0-6254-c6e6882f5a99@foss.arm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00036.txt.bz2 On Wed, 2017-01-11 at 17:48 +0000, Thomas Preudhomme wrote: > Very well. How about the attached patch? Hmm... Trying to apply that to newlib-2.5.0 fails with: (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/configure Hunk #1 succeeded at 802 (offset 4 lines). Hunk #2 succeeded at 1474 (offset 4 lines). Hunk #3 succeeded at 2476 (offset 4 lines). Hunk #4 FAILED at 11790. Hunk #5 FAILED at 11896. Hunk #6 succeeded at 12469 (offset 34 lines). 2 out of 6 hunks FAILED -- saving rejects to file newlib/configure.rej (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/configure.in Hunk #2 succeeded at 469 (offset 16 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/configure (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/configure.in (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/include/sys/lock.h Hunk #1 FAILED at 3. 1 out of 2 hunks FAILED -- saving rejects to file newlib/libc/include/sys/lock.h.rej (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/stdlib/Makefile.am (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/stdlib/Makefile.in (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/libc/stdlib/lock.c (Stripping trailing CRs from patch; use --binary to disable.) patching file newlib/newlib.hin I'm not sure what version of newlib is your patched based on, maybe you could rebase it on top of the HEAD of the repository? Regards, FCh