Okay I think I'm getting somewhere. When I run the strings command on
the perl_math_int128.o file, the only string that appears is: "Unable to
load Math::Int128 C API: your compiler does not support 128bit integers".
So the following conditional is failing in perl_math_int128.c:
#if ((LONGSIZE >= 8) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__
Show quoted text>= 4)))
What I can't understand is why Math::Int128 builds and tests
successfully...it uses the same stanza, right?
Thanks,
Matt
On Thu, Mar 5, 2015 at 4:12 PM, Matt Sisk <sisk@mojotoad.com> wrote:
Show quoted text> Interestingly, the c_api_client for Math::Int64 works without a problem.
>
> On Thu, Mar 5, 2015 at 2:31 PM, Matt Sisk <sisk@mojotoad.com> wrote:
>
>> I've attached the files I'm using for the build. Here is the compilation
>> output:
>>
>> $ /opt/local/bin/perl Makefile.PL
>> Generating a Unix-style Makefile
>> Writing Makefile for Sample
>> Writing MYMETA.yml and MYMETA.json
>> $ make
>> Skip blib/lib/Sample.pm (unchanged)
>> Running Mkbootstrap for Sample ()
>> chmod 644 "Sample.bs"
>> /usr/bin/clang -c -I. -pipe -Os -fno-common -DPERL_DARWIN
>> -I/opt/local/include -fno-strict-aliasing -fstack-protector
>> -I/opt/local/include -O3 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\"
>> "-I/opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE" Sample.c
>> /usr/bin/clang -c -I. -pipe -Os -fno-common -DPERL_DARWIN
>> -I/opt/local/include -fno-strict-aliasing -fstack-protector
>> -I/opt/local/include -O3 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\"
>> "-I/opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE"
>> perl_math_int128.c
>> rm -f blib/arch/auto/Sample/Sample.bundle
>> env MACOSX_DEPLOYMENT_TARGET=10.9 /usr/bin/clang -L/opt/local/lib
>> -Wl,-headerpad_max_install_names -bundle -undefined dynamic_lookup
>> -fstack-protector Sample.o perl_math_int128.o -o
>> blib/arch/auto/Sample/Sample.bundle \
>> \
>>
>> chmod 755 blib/arch/auto/Sample/Sample.bundle
>> "/opt/local/bin/perl5.16" -MExtUtils::Command::MM -e 'cp_nonempty' --
>> Sample.bs blib/arch/auto/Sample/Sample.bs 644
>>
>>
>> On Thu, Mar 5, 2015 at 11:33 AM, Salvador \"Fandiño\" via RT <
>> bug-Math-Int128@rt.cpan.org> wrote:
>>
>>> <URL:
https://rt.cpan.org/Ticket/Display.html?id=102519 >
>>>
>>> >> Yes, c_api_client/perl_math_int128.c is getting compiled and linked
>>> via the
>>>
>>> >
>>> >> WriteMakefile option "OBJECT => '$(O_FILES)'".
>>>
>>>
>>> Could you show me your full module including supporting files (i.e.
>>> Makefile.PL) and the compilation log?
>>>
>>>
>>>
>>
>