delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/27/05:06:26

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7EA37382C5E3
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=Ky/iid3bExxs9U1FDFygLMOYBxUoiwsjQr+hOi1gIBw=;
b=j3YKsMSjqkrK187QHTuM1eW2x/Ss/nfCOj3KEtmWZ+LckprJJDi/3e5/mFWosvcESU
LXNP0iJjFD5SGWNG1eQvTWld9k1RFIFdhhK5iLQI9U6tY7CbBmLflBTyUiSz4wb4kYnP
/EcuIFsyvOg4q16p6/SZTtTGJEoyisxCBnhLM6Rq+xG4w0a++vyowtJYyqX9kXx3dXRu
0bvPMvenqLKLpYVel7WiQ6p4vjKqqM+vPs1k5HW94G7iZxjeeHj6uIMVlHD4DaNsixP6
5dj4DrUM/3PAmOCHgV2hNWmNYj3LdBLvIfYUy91Xa6RpgncJD5hud8ni16+JiYZGf0Uk
XcLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=Ky/iid3bExxs9U1FDFygLMOYBxUoiwsjQr+hOi1gIBw=;
b=XOc+fV7/UlbuK5sctU60pDQeWSx5yEamyj+3WKP5O37hSfnZ+nq/F9lLxYkvSC3MNU
fMgSdpdwZZvdzPMi7bm5N+/80LKO2PhZlh1oSusGShb4HtRYEfAl+1vpan6UQlpU2S34
y8POF0WCIVS8f6MlPBko9uHfI4zinioDH4Qr4WZ0Y7ouyJgGp6pJIZKvffYyjj0ChL40
9pGXMKYDE9o0b3i38BaneCJ6sB4n9qe/htCy/G8oqnQCLLZS5GOnZgeXR/pofEEQSB2p
Vj6td055klOlMNL89W2o9jbZSGvhzbfp0vf2H86N5a5fOyAEd8+V4K+AxJA+PvgUsrXt
tg/g==
X-Gm-Message-State: AOAM530SDtMaY3kX5JHhKt9QPsu9LWwF9loc32GQxIQE8jE333eF8Hha
N55Wk8/rh5nrgIf1HT5ONHQiYjeBrSScAwuVZZkfpHM5+EM=
X-Google-Smtp-Source: ABdhPJymOjGutsSP0hghCxnbj0nrrdHszwlZQvUfG/MiOE4wgfaDWRhKK31ieSd3qQLSlccbXWCovYc7wzDFVT1ayRE=
X-Received: by 2002:ac2:5047:0:b0:478:7ee4:592f with SMTP id
a7-20020ac25047000000b004787ee4592fmr14031327lfm.576.1653641240671; Fri, 27
May 2022 01:47:20 -0700 (PDT)
MIME-Version: 1.0
References: <CANe7G9EE5Q9kd7FM=+ERhhB2zBxyNo1Tx7Rbuy=X4svaG2m0fw AT mail DOT gmail DOT com>
<20220527133120 DOT 58530edd99f4a87c605b8a04 AT nifty DOT ne DOT jp>
In-Reply-To: <20220527133120.58530edd99f4a87c605b8a04@nifty.ne.jp>
From: Sam Lin <samlin0925 AT gmail DOT com>
Date: Fri, 27 May 2022 16:47:09 +0800
Message-ID: <CANe7G9EZbuKOJt_X2mq1X70Y=tWFiy5_w9fnKp59EgCGQjAUAw@mail.gmail.com>
Subject: Re: Unable to execute Cygwin application within UDF format
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 24R96QkP030908

Hi ,

I have also successfully executed that is to move cygwin1.dll to the root
directory to execute.

Will cygwin1.dll be supported to execute in UDF format in the future?
Thanks,
Sam

Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> 於 2022年5月27日 週五 下午12:32寫道:

> On Fri, 27 May 2022 11:36:27 +0800
> Sam Lin wrote:
> > I will see the problem on WIN10 or WIN SERVER, the duplicate steps are as
> > follows:
> >
> > 1. Write a simple code 'hello world'  program  and   compiled the
> > executable file using GCC.
> >
> > //  hello.c
> > #include <stdio.h>
> >
> > int main() {
> >     printf("Hello World\n");
> >     return 0;
> > }
> >
> > $ gcc hello.c -o hello.exe
> >
> > 2. Format the specified USB drive using command prompt.
> >   C:\> format <USB Drive Letter>: /fs:UDF /q
> >
> > 3. Put the executable files hello.exe and cygwin1.dll into the UDF format
> > flash drive and execute.
> > We will find that the execution error occurs with cygwin v3.2.x and
> above.
> >
> > F:\>hello.exe
> >       0 [main] hello (16224) F:\hello.exe: *** fatal error - add_item
> > ("\??", "/", ...) failed, errno 22
> > Stack trace:
> > Frame        Function    Args
> > 000FFFFCCE0  001800622EE (0018029F172, 0018027AE81, 00800000000,
> > 000FFFF8B40)
> > 000FFFFCCE0  0018004874A (00000000000, 000FFFFCCE0, 00180020010,
> > 000FFFFABD6)
> > 000FFFFCCE0  00180048782 (000FFFF9BD0, 00000000016, 00800000000,
> > 00000000001)
> > 000FFFFCCE0  001800E30BC (000FFFFCBD0, 000FFFFCDF0, 001800D7488,
> > 00000000000)
> > 000FFFFCCE0  00180133DC5 (001800D344A, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFCCE0  00180048DA5 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFFFF0  00180047856 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFFFF0  00180047904 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > End of stack trace
> >
> > This error does not occur in v3.1.7.
> > Hope this will be resolved in the future.
>
> This seems to happen if cygwin1.dll is placed in the root
> directly regardless of file system type.
>
> --
> Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
>
> --
> 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
>

-- 
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