Welcome! Log In Create A New Profile

Advanced

Re: 回复: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin
June 07, 2021 08:22AM
Hello!

On Mon, Jun 07, 2021 at 02:44:45AM +0000, 王 静凯 wrote:

> >What does "./configure" output show? Are you running configure on
> >the target system, or tried to cross-compile nginx?
>
> >It looks like for some reason nginx wasn't able to find out how to
> >instruct your system to use 64-bit off_t. The most likely reason
> >I can think of is an attempt to cross-compile nginx. Note that
> >cross-compiling is not supported and not going to work. The most
> >simple and the only supported solution would be to compile nginx
> >natively.
>
> Yes,I am doing a cross compile.
> There is no way to compile natively.

Certainly there is a way to compile natively. Even if for some
reason, for example, due to lack of disk space, it is not possible
to compile right on the target hardware, you can always compile in
an emulated environment.

If you nevertheless insist on cross-compiling, which is, as
outlined above, is not supported, the right approach would be to
check all the configure tests affected by your cross-compilation
changes to nginx configure, notably all feature tests with
"ngx_feature_run=yes" and all sizeof tests. Proper check would be
to obtain the test binary as produced for the test by nginx
configure and run it on the target system, and then make sure that
results produced by your patched configure match the results from
running test binaries on the target system.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Server mp4 file larger than 2GB on 32bit system

王 静凯 June 05, 2021 04:36AM

Re: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 06, 2021 12:12PM

回复: Server mp4 file larger than 2GB on 32bit system

王 静凯 June 06, 2021 10:46PM

Re: 回复: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 07, 2021 08:22AM

Server mp4 file larger than 2GB on 32bit system

王 静凯 June 08, 2021 10:56PM

Re: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 09, 2021 10:26AM

Segmentation fault sometimes

王 静凯 August 24, 2021 04:38AM

RE: Segmentation fault sometimes

Ali Ghanbari August 29, 2021 04:00AM

Re: Segmentation fault sometimes

Sergey A. Osokin August 30, 2021 06:32PM

回复: Segmentation fault sometimes

王 静凯 November 11, 2022 04:06AM

Re: 回复: Segmentation fault sometimes

Sergey A. Osokin November 17, 2022 09:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready