octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63480] Build error on Cygwin


From: anonymous
Subject: [Octave-bug-tracker] [bug #63480] Build error on Cygwin
Date: Thu, 8 Dec 2022 11:32:42 -0500 (EST)

Follow-up Comment #3, bug #63480 (project octave):

Hi,

Cygwin maintainer here.

The problem is that we defined __LARGE64_FILES up to Cygwin 3.3.6 and
with commit 2902b3a09e0a ("Cygwin: drop requirement to build newlib's
stdio64") we stopped defining it, because it was always kind of incorrect
for 64 bit and we didn't want to maintain two sets of stdio functions
doing the same thing, e.g., fopen and fopen64.

Unfortunately that means, the base type of FILE was struct __sFILE64
up to Cygwin 3.3.6, and struct __sFILE starting with 3.4.0, which
results in the above problem due to C++ name mangling.

I just pushed a patch defining FILE as struct __sFILE64 again,
https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=55de3fdd0e8

Cygwin release 3.5.0-0.25.g55de3fdd0e85, available via Cygwin's standard
installation procedure as a test release in about an hour, contains that
fix.

For testing, please make sure to install at least the cygwin and matching
cygwin-devel package.  You need at least Windows 8.1 for testing.

If this fixes the issue for you, the patch will go into an upcoming
Cygwin 3.4.1 bugfix release pretty soon.


Corinna


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63480>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]