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 於 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
> >
> > 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 : /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:
> > FrameFunctionArgs
> > 000CCE0 001800622EE (0018029F172, 0018027AE81, 008,
> > 0008B40)
> > 000CCE0 0018004874A (000, 000CCE0, 00180020010,
> > 000ABD6)
> > 000CCE0 00180048782 (0009BD0, 016, 008,
> > 001)
> > 000CCE0 001800E30BC (000CBD0, 000CDF0, 001800D7488,
> > 000)
> > 000CCE0 00180133DC5 (001800D344A, 000, 000,
> > 000)
> > 000CCE0 00180048DA5 (000, 000, 000,
> > 000)
> > 000FFF0 00180047856 (000, 000, 000,
> > 000)
> > 000FFF0 00180047904 (000, 000, 000,
> > 000)
> > 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
>
> --
> 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