Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 10:34:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195497] New: lang/clang35 miscompiles lang/perl5.* breaking USE_PERL5=configure ports
Message-ID:  <bug-195497-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195497

            Bug ID: 195497
           Summary: lang/clang35 miscompiles lang/perl5.* breaking
                    USE_PERL5=configure ports
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: jbeich@vfemail.net
            Blocks: 195480
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

$ make -C security/p5-Digest-HMAC
===>   p5-Digest-HMAC-1.03_1 depends on file: /usr/local/bin/perl5.16.3 - found
===>  Configuring for p5-Digest-HMAC-1.03_1
Checking if your kit is complete...
Looks good
*** Signal 11

$ perl5 -e 'use POSIX'
Segmentation fault

* thread #1: tid = 101771, 0x0000000000000000, name = 'perl5', stop reason =
invalid address (fault address: 0x0)
    frame #0: 0x0000000000000000
-> 0x0:  addb   %al, (%rax)
   0x2:  addb   %al, (%rax)
   0x4:  addb   %al, (%rax)
   0x6:  addb   %al, (%rax)
(lldb) bt
* thread #1: tid = 101771, 0x0000000000000000, name = 'perl5', stop reason =
invalid address (fault address: 0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x000000080260cf88 POSIX.so`boot_POSIX(cv=0x000000080215f810) +
7448 at const-xs.inc:1140
    frame #2: 0x0000000800b36424 libperl.so.5.16`Perl_pp_entersub + 5636 at
pp_hot.c:2778
    frame #3: 0x0000000800b26b3d libperl.so.5.16`Perl_runops_standard + 29 at
run.c:41
    frame #4: 0x0000000800a6696a
libperl.so.5.16`Perl_call_sv(sv=0x00000008020e9150, flags=13) + 1402 at
perl.c:2705
    frame #5: 0x0000000800a62739 libperl.so.5.16`Perl_call_list(oldscope=2,
paramList=0x00000008020e9240) + 697 at perl.c:4782
    frame #6: 0x0000000800a512d2
libperl.so.5.16`S_process_special_blocks(fullname=0x00000008020ea210,
gv=0x00000008020e9210, cv=0x00000008020e9150) + 290 at op.c:6882
    frame #7: 0x0000000800a4ff9c
libperl.so.5.16`Perl_newATTRSUB_flags(floor=37, o=0x00000008020ea220,
proto=0x0000000000000000, attrs=0x0000000000000000, block=0x0000000802016800,
flags=0) + 9948 at op.c:6852
    frame #8: 0x0000000800a47799 libperl.so.5.16`Perl_newATTRSUB(floor=37,
o=0x00000008020ea220, proto=0x0000000000000000, attrs=0x0000000000000000,
block=0x0000000802016800) + 57 at op.c:6499
    frame #9: 0x0000000800a4756c libperl.so.5.16`Perl_utilize(aver=1, floor=37,
version=0x0000000000000000, idop=0x00000008020ea0d0, arg=0x0000000000000000) +
1004 at op.c:4681
    frame #10: 0x0000000800ab23a5 libperl.so.5.16`Perl_yyparse(gramtype=258) +
2917 at perly.y:363
    frame #11: 0x0000000800a651fb
libperl.so.5.16`S_parse_body(env=0x0000000000000000, xsinit=0x0000000000400f70)
+ 4939 at perl.c:2246
    frame #12: 0x0000000800a6362f
libperl.so.5.16`perl_parse(my_perl=0x0000000802017058,
xsinit=0x0000000000400f70, argc=3, argv=0x00007fffffffe430,
env=0x0000000000000000) + 1887 at perl.c:1633
    frame #13: 0x0000000000400ea4 perl5`main(argc=3, argv=0x00007fffffffe430,
env=0x00007fffffffe450) + 196 at perlmain.c:118
    frame #14: 0x0000000000400cff perl5`_start(ap=<unavailable>,
cleanup=<unavailable>) + 367 at crt1.c:78

or

$ perl5 -e 'require XSLoader; XSLoader::load("POSIX");'
Segmentation fault

* thread #1: tid = 101265, 0x0000000000000000, name = 'perl5', stop reason =
invalid address (fault address: 0x0)
    frame #0: 0x0000000000000000
-> 0x0:  addb   %al, (%rax)
   0x2:  addb   %al, (%rax)
   0x4:  addb   %al, (%rax)
   0x6:  addb   %al, (%rax)
(lldb) bt
* thread #1: tid = 101265, 0x0000000000000000, name = 'perl5', stop reason =
invalid address (fault address: 0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x0000000802408130
POSIX.so`boot_POSIX(my_perl=0x0000000802019e00, cv=0x000000080211b1f8) + 8032
at const-xs.inc:1188
    frame #2: 0x0000000800b68de1
libperl.so.5.20`Perl_pp_entersub(my_perl=0x0000000802019e00) + 7105 at
pp_hot.c:2794
    frame #3: 0x0000000800b586a6
libperl.so.5.20`Perl_runops_standard(my_perl=0x0000000802019e00) + 38 at
run.c:42
    frame #4: 0x0000000800a6b5aa
libperl.so.5.20`S_run_body(my_perl=0x0000000802019e00, oldscope=1) + 618 at
perl.c:2456
    frame #5: 0x0000000800a6af7b
libperl.so.5.20`perl_run(my_perl=0x0000000802019e00) + 187 at perl.c:2372
    frame #6: 0x0000000000400f58 perl5`main(argc=3, argv=0x00007fffffffe410,
env=0x00007fffffffe430) + 264 at perlmain.c:114
    frame #7: 0x0000000000400d6f perl5`_start(ap=<unavailable>,
cleanup=<unavailable>) + 367 at crt1.c:78

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer brooks@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195497-13>