delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/14/10:54:34

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 144573836C08
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1615733671;
bh=97uk8t6kCMcDsQh99Iips3H7Sqx/b/HKqWUKgxV/A6E=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=VxZvG2JQ2KSjV6T3OZCjxCHGJx4ssiMnvVHJ8bGfP3CXO1QrnYoCL/0lsYz0+czEI
+t2lPcDOUZhw2xS5Svggux+xNIc4CIVeyViRiGgsD1oOcVz/fjf575qmze/nM+P+GI
H6GzfF2ZIX7QSYNSi8TmGtT85mSvKW94FjxXWV3Q=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 276EC386EC78
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:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=zYnKwAJNb730jJSKu/eV+jcYCNrY2JniH6t3wRl9bgM=;
b=GVBd/645WDJVYCmsMzydSEJ+5tNVRTSgaNekvCkxaRkJB208mEUIY49iCLZGDWUycr
s4Nn6bS6al4SL3nBSYwQ99jVDOH9j5L1CAij/SrtAu2Jy74CpCKCuy8ya4b8jrm71C/k
2spOYb4lEj7dXXi9rOVScw0YaDhAS7pHcHJzmboNygwrmPfcJd7qtyyE4a44Y2Xia5nA
ElyKEBp7ii2KRCG/+5VWJ7muQXWrRffZHrk3nDv5A4B3lH5mLgzjRdgka0SG90+g4Z22
7wADHiil6lCkBSK5mAZa7crYajmXZRq00dRGcMcK+EiuzP1RrauCghLJXTtJJqNcIwBK
mtZA==
X-Gm-Message-State: AOAM533DAluJwzVnL0MtPqmiEM0/rDHSK5gyij23CxioH0ZOciwZT6Vl
+BnJLmdh6RTXCWld71wh2pRONUmg66E=
X-Google-Smtp-Source: ABdhPJwC+BmjMcS8VTOA+WiGhQWw8zz8J3CWDunMbZC4Qka+ircoiuKhTN0JE3pZdWYJatV+gZJyAg==
X-Received: by 2002:a17:902:a515:b029:e6:4631:4e4a with SMTP id
s21-20020a170902a515b02900e646314e4amr7341995plq.72.1615733665949;
Sun, 14 Mar 2021 07:54:25 -0700 (PDT)
Subject: Re: libgccjit
To: cygwin AT cygwin DOT com
References: <037d5d0a-db79-d769-cedd-2c25684add8a AT cornell DOT edu>
<YEnuDNuBo1mVcaZs AT calimero DOT vinschen DOT de>
<629c22b5-9c89-51dd-57a1-13af6b0a87df AT gmail DOT com>
<8735wyol2k DOT fsf AT Rainer DOT invalid> <87y2eqmdl4 DOT fsf AT Rainer DOT invalid>
Message-ID: <d41af840-ccdf-f287-dab5-3d833af01e11@gmail.com>
Date: Sun, 14 Mar 2021 14:54:32 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <87y2eqmdl4.fsf@Rainer.invalid>
X-Spam-Status: No, score=-3031.9 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jonathan Yong via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jonathan Yong <10walls AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 12EEsY36013680

On 3/14/21 6:52 AM, Achim Gratz wrote:
> 
> /mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/xg++ -B/mnt/share/cygpkgs/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-cygwin/libstdc++-v3/libsupc++/.libs  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include/x86_64-pc-cygwin  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/libstdc++-v3/libsupc++ -L/mnt/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/libstdc++-v3/libsupc++/.libs -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC -fPIC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-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/src/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 jit/jit-playback.o -MMD -MP -MF jit/.deps/jit-playback.TPo /mnt/share/cygpkgs/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 ‘gcc::jit::result* gcc::jit::playback::context::dlopen_built_dso()’:
> /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:2652:3: error: ‘dlerror’ was not declared in this scope; did you mean ‘error’?
>   2652 |   dlerror ();
>        |   ^~~~~~~
>        |   error
> /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/gcc/jit/jit-playback.c:2655:6: error: ‘RTLD_NOW’ 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:2655:17: error: ‘RTLD_LOCAL’ 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:2654:12: error: ‘dlopen’ was not declared in this scope; did you mean ‘open’?
>   2654 |   handle = 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.

Thanks for trying.
Does injecting dlfcn.h work?
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019