X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AEDA3860C38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1613405440; bh=oZWUV/2C+bu0imLtXyI1c6gVLq+fADX9y3ykGIjSQ3U=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=IZWLN/7MH/E6QRYNGgf9e2osZ9y1lawB/GIPe5fhQ5/8kqDjLuG98QsVOTwXdX5RF vMRvhpHb6hOnn7VMK54v/DdHio3YHrxQROHccvKLKu032CXZu410yyiooyGRZQLctF TrLKdB3kMQXm65+QbBMddmdQSVAxkdtv4SkHTO3E= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 11F7D3857020 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ox4qcs1VusM7JB1R6J8xWHSmBkXyRZ9g8LRJ8WBJfEE=; b=tBFdlU5rFwhCWlO81SKVA1xfB+nBPEhIyxrGujx2k+KviWK/BphVRo/w/zCpWsi+Gv YU6PMCS8gV8x+10QL6MOmJtwuWoT9hSMJmbonH4d81kgl9towjFW6tlX+zX96cSZDhQy p2X5Fegwk8WdmXi83S10fL73UV2iEu5vhiqC/jpAGIB1aSAFT66MoGzYf7XhzxtjjDqy fJUKFI/65wCalpgivFZb6GM+RntIO1AY6QCM9juLg2RX+sQg42a0Ll6ZOdWRJOUiJI5i IpX4CnADBZD2MibID5WbeL94Ek05hgTz69jEqcwOM1a2mboliCpV6eYnyGyHf9sog1uY YwpQ== X-Gm-Message-State: AOAM5308V3Ejc1zpzy5wJUe37+LY9rkEbY62g3idWZBJRX/1NMpAobrL lXcMa3Cnca6pDVgh9WIVjDw= X-Google-Smtp-Source: ABdhPJyWM1Jge0nLJytcPjJqRyQ0ccgBhLgoKYiHkSaUTgnKKxwgRAbxryL8I5cKusyQtKB8WV+OTg== X-Received: by 2002:a1c:a90e:: with SMTP id s14mr9468575wme.36.1613405433901; Mon, 15 Feb 2021 08:10:33 -0800 (PST) Subject: Re: compilation errors trying to build unzip on cygwin To: "cygwin AT cygwin DOT com" References: <21f9574a-be4d-dec2-c36f-22eee7a6f173 AT gmail DOT com> Message-ID: Date: Mon, 15 Feb 2021 17:10:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Cc: Soren Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 11FGAhhn022380 back on mailing list On 15.02.2021 00:36, Soren wrote: > > On Sat, Feb 13, 2021 at 11:20 PM Marco Atzeri wrote: > > > Well, that would be a simple fix, although it leaves the mystery PATH > behavior unsolved. I'll mention that I moved gnwin32-make out of the way > and then got compiler (assembler) errors. Here is my console output: > > $ /usr/bin/make -f unix/Makefile cygwin > ln: failed to create hard link './Makefile': File exists > /usr/bin/make unzips CC=gcc LD=gcc AS=gcc\ >  CFLAGS="-O3 -DASM_CRC -DNO_LCHOWN -DNO_LCHMOD"\ >  AF="-Di386  " CRCA_O=crc_gcc.o\ >  E=".exe" CP="cp" LN="ln -s" > make[1]: Entering directory '/usr/src/unzip-6.0-17.src/unzip60' > gcc -Di386   -x assembler-with-cpp -c -o crc_gcc.o crc_i386.S > crc_i386.S: Assembler messages: > crc_i386.S:203: Error: invalid instruction suffix for `push' > crc_i386.S:204: Error: invalid instruction suffix for `push' > crc_i386.S:205: Error: invalid instruction suffix for `push' > crc_i386.S:206: Error: invalid instruction suffix for `push' > crc_i386.S:207: Error: invalid instruction suffix for `push' > crc_i386.S:208: Error: invalid instruction suffix for `push' > crc_i386.S:292: Error: invalid instruction suffix for `pop' > crc_i386.S:293: Error: invalid instruction suffix for `pop' > crc_i386.S:294: Error: invalid instruction suffix for `pop' > crc_i386.S:295: Error: invalid instruction suffix for `pop' > crc_i386.S:296: Error: invalid instruction suffix for `pop' > crc_i386.S:297: Error: invalid instruction suffix for `pop' > make[1]: *** [Makefile:381: crc_gcc.o] Error 1 > make[1]: Leaving directory '/usr/src/unzip-6.0-17.src/unzip60' > make: *** [unix/Makefile:749: cygwin] Error 2 > > Thanks to any persons who are following this thread. compiling the latest source shows no issue at all from my side with a recent 64bit Cygwin. $ cygport unzip.cygport all ... Stripping executables: usr/bin/funzip.exe usr/bin/unzip.exe usr/bin/unzipsfx.exe Preparing debuginfo source files: 18 files >>> Packaging unzip-6.0-17.x86_64 >>> Creating binary package(s) >>> unzip-6.0-17.tar.xz ... >>> unzip requires: bash cygwin libbz2_1 have you tried to use cygport for repeating the patching and compiling step as current build ? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple