From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 6619C3857C68 for ; Sun, 14 Mar 2021 06:52:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6619C3857C68 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (smtpa08.fra-mediabeam.com [10.2.0.39]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 0F2C6120B4F for ; Sun, 14 Mar 2021 07:52:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1615704769; bh=Py+76Y3sF/DXO9bxNSllINs7lJKzmIwkFaq8IMRFjOA=; h=From:To:Subject:References:Date:In-Reply-To; b=cgrWUVCqe3JD5nXeraC7ouMTtavmIFMIeL0iWenrkdv7wbDYe9R92xj9fmLRpW6Tb k3us9hkg70cbvVxht1jbzWNAkds9RNvn7eXLrc/2IPNv3G8RW16BHNCA/i5OoqUX6M 7tq27T4c6YXTJk0yeqR3BoC4LkXWZX7VecHpBs3k= Received: from Gertrud (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 992DF141425 for ; Sun, 14 Mar 2021 06:52:48 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: libgccjit References: <037d5d0a-db79-d769-cedd-2c25684add8a@cornell.edu> <629c22b5-9c89-51dd-57a1-13af6b0a87df@gmail.com> <8735wyol2k.fsf@Rainer.invalid> Date: Sun, 14 Mar 2021 07:52:39 +0100 In-Reply-To: <8735wyol2k.fsf@Rainer.invalid> (Achim Gratz's message of "Sat, 13 Mar 2021 21:28:03 +0100") Message-ID: <87y2eqmdl4.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 4413 X-purgate-ID: 155817::1615704768-000008B7-89D721FA/0/0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, 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@cygwin.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: , X-List-Received-Date: Sun, 14 Mar 2021 06:52:54 -0000 Achim Gratz writes: > That also needs --enable-host-shared and then it dies shortly after > configure because it can't find libiberty.a in $build_subdir which does > not exist. The library itself is already made in the libiberty > directory, so some sort of install step went missing. If I drop the > file there, it then proceeds to want the same thing in yet another > subdir. Repeating the exercise gets me one step further after which it > looks for the same file in a third place=E2=80=A6 dropping it there also= seems > to get the compile rolling along, but there is clearly something > missing, either in configure or with the general handling of the target > triple. It removes one of those places and later expects to find libiberty.a again there (plus for whatever reason can't run "make -j" from that point on). Monkey-fixing that and letting it move on finally gets me to: /mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/xg++ -B/mnt/share/cygpkg= s/gcc/gcc.x86_64/build/./prev-gcc/ -B/usr/x86_64-pc-cygwin/bin/ -nostdinc++= -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-= v3/src/.libs -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwi= n/libstdc++-v3/libsupc++/.libs -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/p= rev-x86_64-pc-cygwin/libstdc++-v3/include/x86_64-pc-cygwin -I/mnt/share/cy= gpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include -I/m= nt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/libstdc++-v3/libsupc++ -L/mn= t/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/src= /.libs -L/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libs= tdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -fno-checkin= g -gtoggle -DIN_GCC -fPIC -fno-exceptions -fno-rtti -fasynchronous-unwin= d-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=3Df= ormat-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-l= ong-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I.= -Ijit -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc -I/mnt/share/= cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit -I/mnt/share/cygpkgs/gcc/gcc.= x86_64/src/gcc-10.2.0/gcc/../include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/sr= c/gcc-10.2.0/gcc/../libcpp/include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src= /gcc-10.2.0/gcc/../libdecnumber -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc= -10.2.0/gcc/../libdecnumber/bid -I../libdecnumber -I/mnt/share/cygpkgs/gcc/= gcc.x86_64/src/gcc-10.2.0/gcc/../libbacktrace -o jit/jit-playback.o -MT j= it/jit-playback.o -MMD -MP -MF jit/.deps/jit-playback.TPo /mnt/share/cygpkg= s/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c: In= member function =E2=80=98gcc::jit::result* gcc::jit::playback::context::dl= open_built_dso()=E2=80=99: /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:265= 2:3: error: =E2=80=98dlerror=E2=80=99 was not declared in this scope; did y= ou mean =E2=80=98error=E2=80=99? 2652 | dlerror (); | ^~~~~~~ | error /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:265= 5:6: error: =E2=80=98RTLD_NOW=E2=80=99 was not declared in this scope 2655 | RTLD_NOW | RTLD_LOCAL); | ^~~~~~~~ /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:265= 5:17: error: =E2=80=98RTLD_LOCAL=E2=80=99 was not declared in this scope 2655 | RTLD_NOW | RTLD_LOCAL); | ^~~~~~~~~~ /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:265= 4:12: error: =E2=80=98dlopen=E2=80=99 was not declared in this scope; did y= ou mean =E2=80=98open=E2=80=99? 2654 | handle =3D dlopen (m_tempdir->get_path_so_file (), | ^~~~~~ | open I can pile on another kludge to make that compile and eventully it'll end up linking libgccjit, but the build then stops with an error that is not so easily skipped. So no, Cygwin is not one of the targets that libgccjit is intended to work on yet and needs work. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada