develooper Front page | perl.perl5.porters | Postings from April 2016

[perl #127922] 5.24.0-RC1 Windows build failure with mingw.orggcc-3.4.5

From:
bulk88 via RT
Date:
April 28, 2016 13:02
Subject:
[perl #127922] 5.24.0-RC1 Windows build failure with mingw.orggcc-3.4.5
Message ID:
rt-4.0.18-24447-1461848547-266.127922-15-0@perl.org
On Tue Apr 19 21:38:00 2016, tonyc wrote:
> On Mon Apr 18 09:53:53 2016, shay wrote:
> > The same compiler happily builds 5.22.2-RC1, but with 5.24.0-RC1 it
> > falls over in PerlIO::encoding. Probably not a blocker since the
> > compiler is quite old (2008) and probably not widely used, if at all?
> > Most people are on at least 4.x if not 5.x these days, and prefer
> > mingw-w64.org over mingw.org anyway. Maybe it's simpler to drop
> > support for mingw.org 3.x?
> 
> Probably.
> 
> It looks like a documented limitation in gcc 3.x:
> 
> See the end of dllimport:
> 
> https://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Function-
> Attributes.html#index-
> g_t_0040code_007b_005f_005fdeclspec_0028dllimport_0029_007d-1639
> 
> An option for a fix might be to not use __declspec(dllimport) on gcc
> 3.x.  This will slow down the built perl slightly.
> 
> Tony

Would a 2nd .o, without dllimport (suppressed with macros before #include) just for the vtable work?

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=127922



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About