From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.8.97 with SMTP id 94mr4289991ioi.71.1474813747836; Sun, 25 Sep 2016 07:29:07 -0700 (PDT) X-Received: by 10.157.8.10 with SMTP id 10mr1236210oty.16.1474813747814; Sun, 25 Sep 2016 07:29:07 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!x192no4414122itb.0!news-out.google.com!b4ni11996iti.0!nntp.google.com!x192no4414116itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Sep 2016 07:29:07 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:62:474a:a400:90a2:97f9:75c7:e98f; posting-account=mOyWBQoAAAD7S-NBmMUOr9hRClcL0vqR NNTP-Posting-Host: 2003:62:474a:a400:90a2:97f9:75c7:e98f User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6eb1e1db-f9ec-40ea-9d63-15898af1145c@googlegroups.com> Subject: building a recent gcc-gnat on MinGW From: rrr.eee.27@gmail.com Injection-Date: Sun, 25 Sep 2016 14:29:07 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31887 Date: 2016-09-25T07:29:07-07:00 List-Id: Starting with gcc-5.1 (and all following versions to 6.2) I get an error wh= en compiling the Ada part of gcc on MinGW(32): g++ -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUC= TURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno= -narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverlo= aded-virtual -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -= Wno-error -DHAVE_CONFIG_H -I. -Iada -I../../gcc-6.2.0/gcc -I../../gcc-6.2.0= /gcc/ada -I../../gcc-6.2.0/gcc/../include -I../../gcc-6.2.0/gcc/../libcpp/i= nclude -I/mingw/include -I/mingw/include -I../../gcc-6.2.0/gcc/../libdecnu= mber -I../../gcc-6.2.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gc= c-6.2.0/gcc/../libbacktrace -o ada/adaint.o -MT ada/adaint.o -MMD -MP -MF= ada/.deps/adaint.TPo ../../gcc-6.2.0/gcc/ada/adaint.c ../../gcc-6.2.0/gcc/ada/adaint.c: In function 'void __gnat_stat_to_attr(int= , char*, file_attributes*)': ../../gcc-6.2.0/gcc/ada/adaint.c:1032:20: error: aggregate 'stat64 statbuf'= has incomplete type and cannot be defined GNAT_STRUCT_STAT statbuf; ^ It seems that gcc assumes the availability of stat64 in libc even on a 32bi= t system. Has anybody seens this problem before and do you know how to circumvent it? regards RE