From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 078623858C53 for ; Mon, 6 Nov 2023 15:38:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 078623858C53 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 078623858C53 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699285088; cv=none; b=moALx22y6Z2fAsE2PSBwQXueIU2sUlgqBxHEEU9QYfBKjuP8n4HUzR8CDwKeswwG4/gbiypyUrSPmmvTLG2xVxjUwkn29MJw53j2oRjLmd/at7zrEE3WPnas6sRlM0qCDlqTsrp4uwmEPoqFhE8xnye1ISx0fjcsBjkSAFGs4vI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699285088; c=relaxed/simple; bh=AI564Z8rcAkOAia5li4MwXco2wIZgvYk5FaWXHYghrA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=o61cUiUXvcHSEOYh3MYrP5ymn8Bsq/+lyD/f8EZ/trH0mipahr7keSyZEZLYrFXp7Fu2uSolGOJtTvFC3gMCJBOunBLZrI18uj8Lo5Bjx4B1x4o+ecqr/qCpBZrfTkKHbj/0lwcl1NMLcZp1KOgydEqmwK0umCVk89O/UUYq5FY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id 00lSrX3HQ8jpT01fyrDe99; Mon, 06 Nov 2023 15:38:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1699285086; bh=AI564Z8rcAkOAia5li4MwXco2wIZgvYk5FaWXHYghrA=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=HP9dV+JOTn6Icy+Wa6rhnyGLR8CvemP/PwvmrPpE1QI4F3bqT46bOdHnQJIozWwTE beiw33H155wAFhmd/I9fCWoQhW4R2RiYr7LnBVtEKjLpXiwV/zHzJCFqyr8cadwKWd mgoGpCFKFi3GsHMYxffqSUquMLas4dIG3ixLBzRXxWvvs/GTNEDa4ZYyaookV+YyCx 6faJedOrMX4Jj6UBUrJbfHqnOUqQlJnDXKYipoaYwOJBbR3xQYrYKlNE/O90sxqGP0 2ScrsPgn6+uIXmUegEXZNZ8trTQu7quaH1equ8/0ziIFdJpa7nzE+d5wkop3qnE8Cd lJwDOp1Fs5UNg== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id 01fxrze9mDqGY01fxrQN3g; Mon, 06 Nov 2023 15:38:06 +0000 X-Authority-Analysis: v=2.4 cv=Cousz10D c=1 sm=1 tr=0 ts=6549085e a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=GmYj0E5pn-DJhXyi:21 a=IkcTkHD0fZMA:10 a=CCpqsmhAAAAA:8 a=iJfRvZRUESdXdqgFmu0A:9 a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22 a=R7wFkP6N1sWc_25qyB1a:22 Message-ID: <2da1fb2a-b342-4f4c-b589-69fe3e8297d6@Shaw.ca> Date: Mon, 6 Nov 2023 08:38:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: cygwin@cygwin.com Subject: Re: rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc Content-Language: en-CA To: cygwin@cygwin.com References: Cc: 7dog123 From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfPHbdt1XZzYAa63jAr3c71dfO63IXiC2/h/7DZhY1hneT9pnoCBmX5voeh7JGXxsCuzL4hSHiiRoPMuT5xPp5OFOSfSN5N9UV+4fb5MyYgJr0YtHU+T9 BQndSbxnJIZALJz64lZnnHKolrwBRrLvMjvCo3jYqY3RMeEMD0iUbwV/xIFdjiJd6NN8auuPo8N0kLwUSrCf1FOcSYaVNPXRq1v7qIyDv6pLKwVVce/11y31 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-10-31 10:21, 7dog123 via Cygwin wrote: > I'm trying to build glibc on cygwin but I keep on getting this error > > [ALL ] rtld-Rules:40: *** This makefile is a subroutine of > elf/Makefile not to be used directly. Stop. > [ALL ] make[4]: Leaving directory '/build/src/glibc-2.38/elf' > [ERROR] make[3]: *** [Makefile:1315: > /build/x86_64-pc-linux-gnu/build/build-libc/multilib/elf/rtld-libc.a] Error > 2 > [ERROR] make[3]: *** Waiting for unfinished jobs.... > [ALL ] make[3]: Leaving directory '/build/src/glibc-2.38/elf' > [ERROR] make[2]: *** [Makefile:484: elf/subdir_lib] Error 2 > [ALL ] make[2]: Leaving directory '/build/src/glibc-2.38' > [ERROR] make[1]: *** [Makefile:9: all] Error 2 > [ALL ] make[1]: Leaving directory > '/build/x86_64-pc-linux-gnu/build/build-libc/multilib' > > I'm building it through crossingtool-ng. > > Here's the configuration it used: > > /build/x86_64-pc-linux-gnu/src/glibc/configure --prefix=/usr > --build=x86_64-build_pc-cygwin --host=x86_64-pc-linux-gnu > --cache-file=/build/x86_64-pc-linux-gnu/build/build-libc/multilib/config.cache > --without-cvs --disable-profile --without-gd > --with-headers=/x-tools/}x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sysroot/usr/include > --disable-debug --disable-sanity-checks --enable-kernel=6.5.5 > --with-__thread --with-tls --enable-shared --enable-add-ons=no You might want to try the glibc ML instead of cygwin: https://sourceware.org/mailman/listinfo/libc-help/ mailto:libc-help@sourceware.org -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry