develooper Front page | perl.perl5.porters | Postings from August 2018

Re: Threaded bleads broken on HP-UX 11.31 by commit 7258295b51ee7

Thread Previous | Thread Next
From:
Karl Williamson
Date:
August 4, 2018 18:25
Subject:
Re: Threaded bleads broken on HP-UX 11.31 by commit 7258295b51ee7
Message ID:
a84168d0-40c6-dfb8-2355-755960a2484c@khwilliamson.com
On 08/04/2018 09:02 AM, Karl Williamson wrote:
> On 08/04/2018 08:00 AM, H.Merijn Brand wrote:
>> On Sat, 4 Aug 2018 15:51:06 +0200, "H.Merijn Brand"
>> <h.m.brand@xs4all.nl> wrote:
>>
>>>> cc: warning 983: The -lc library specified on the command line is 
>>>> also added automatically by the compiler driver.
>>>> ld: Unsatisfied symbol "PL_utf8_mark" in file utf8.o
>>>> ld: Unsatisfied symbol "PL_InBitmap" in file regcomp.o
>>>
>>> $ make regcomp.i
>>> cc -c -DPERL_CORE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae +Z -z 
>>> -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include 
>>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -E regcomp.c 
>>> > regcomp.i
>>> $ grep -w -e PL_utf8_mark -e PL_InBitmap regcomp.i
>>> extern SV * PL_utf8_mark;
>>> extern SV * PL_InBitmap;
>>
>> These two stem from perlvars.h
>>
>> If I remove those two lines from there ...
>>
>> "regcomp.c", line 21552: error #2020: identifier "PL_utf8_mark" is 
>> undefined
>>        PL_utf8_mark = _new_invlist_C_array(uni_prop_ptrs[UNI_M]);
>>        ^
>>
>> As to be expected.
>> How to move from here?
>>
> 
> On my system:
> $ nm --print-file-name *.o|grep utf8_mark
> globals.o:00000000000063f8 B PL_utf8_mark
> mathoms.o:                 U Perl__is_utf8_mark
> mathoms.o:0000000000005309 T Perl_is_utf8_mark
> mathoms.o:0000000000001f20 r _ZZ17Perl_is_utf8_markE19__PRETTY_FUNCTION__
> pp.o:                 U Perl__is_utf8_mark
> regcomp.o:                 U PL_utf8_mark
> utf8.o:0000000000006d42 T Perl__is_utf8_mark
> utf8.o:                 U PL_utf8_mark
> utf8.o:00000000000120e0 r _ZZ18Perl__is_utf8_markE19__PRETTY_FUNCTION__
> 
> The question becomes why does your globals.o not have these symbols, and 
> mine does?
> 

I suggest doing an

ls -l globals.o

to verify that it is of recent vintage, and to make sure it got 
regenerated, do

make regen

On Tux's HP-UX 11.23 box, I get

$ nm -A *.o|grep utf8_mark
globals.o:PL_utf8_mark|         4|sdef  |common |$SHORTBSS$
pp.o:Perl__is_utf8_mark|          |undef |code   |
regcomp.o:PL_utf8_mark|          |undef |data   |
utf8.o:PL_utf8_mark |          |undef |data   |
utf8.o:Perl__is_utf8_mark|    100876|extern|entry  |$CODE$

Thread Previous | Thread Next


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