develooper Front page | perl.perl5.porters | Postings from July 2020

Re: Adding PERL_GLOBAL_STRUCT define breaks build on 5.30.2/3

Thread Previous
From:
Tomasz Konojacki
Date:
July 5, 2020 16:55
Subject:
Re: Adding PERL_GLOBAL_STRUCT define breaks build on 5.30.2/3
Message ID:
20200705185502.FC66.5C4F47F8@xenu.pl
(forwarding because the Norm's replies didn't make it to the list)

On 5/06/2020 4:57 AM, Tomasz Konojacki wrote:
> On Thu, 4 Jun 2020 21:15:23 +1000
> NormW <normw@gknw.net> wrote:
>
>> Good evening,
>> Can build Perl 5.30.2 & 5.30.3 with 'standard' settings, but adding the PERL_GLOBAL_STRUCT to the -D's and get the following errors, which appear to be related, and have added the macro at the line reported.
>> The undefined reference comes from DynaLoader.c which builds otherwise fine in a conventional build. Any illumination appreciated.
>>
>> ..\locale.c(4793): Error! E1011: Symbol 'my_vars' has not been declared                             LOCALE_LOCK
>> ..\locale.c(4793): Error! E1147: Too many errors: compilation aborted
>> make: *** [makefile:1126: workrel/locale.obj] Error 1
>> ..\numeric.c(40): Error! E1011: Symbol 'my_vars' has not been declared                            STORE_LC_NUMERIC_SET_TO_NEEDED()
>> ..\numeric.c(40): Error! E1147: Too many errors: compilation aborted
>> make: *** [makefile:1126: workrel/numeric.obj] Error 1
>> ..\pp_ctl.c(874): Error! E1011: Symbol 'my_vars' has not been declared                            STORE_LC_NUMERIC_SET_TO_NEEDED()
>> ..\pp_ctl.c(874): Error! E1147: Too many errors: compilation aborted
>> make: *** [makefile:1126: workrel/pp_ctl.obj] Error 1
>> ..\sv.c(3198): Error! E1011: Symbol 'my_vars' has not been declared                         STORE_LC_NUMERIC_SET_TO_NEEDED()
>> ..\sv.c(3198): Error! E1147: Too many errors: compilation aborted
>> make: *** [makefile:1126: workrel/sv.obj] Error 1
>> Error! E2028: Perl_Gthr_key_ptr is an undefined reference
>>
>> Norm
>
> What platform are you building for? The compiler's output looks like
> OpenWatcom. We don't support that compiler on Windows, so it must be
> some different OS. Is it OS/2? NetWare?
>
> Anyway, I'm curious, what do you need PERL_GLOBAL_STRUCT for? We're
> considering removing it in 5.34 because Symbian is the only port that
> needs it[1].
>
> [1] - https://www.nntp.perl.org/group/perl.perl5.porters/2020/03/msg257258.html
>
Greetings
Thanks for the reply. Yes I did use Open Watcom because it and Metrowerks were the only two that I know of that are old enough to support NetWare OS, and Metrowerks is likely as dead as Novell. I saw mention of removal of NetWare from the source, whiich I can understand the logic of, and only do this Perl+Novell activity out of habit and being indoors (Maybe 'cabin fever'?). Getting an app as large as Perl to build is a big enough challenge to fill in the hours. No idea about 'bugs', so only mention what I see as anomalies in case there is a problem that's fixable. Regards,

Norm

Thread Previous


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