Skip to content

Perl 5.34.0 Fails to Build for toolchain #47

@dslm4515

Description

@dslm4515

Perl-5.34.0 configures fine after unpacking perl-cross-1.3.6 over it, but build segfaults:

make[1]: Leaving directory '/mnt/mlfs/sources/perl-5.34.0'                                                                                      
make dynaloader                                                                                                                                 
make[1]: Entering directory '/mnt/mlfs/sources/perl-5.34.0'                                                                                     
sh cflags.SH                                                                                                                                    
./miniperl_top make_patchnum.pl                                                                                                                 
cp -f ext/re/re.pm lib/re.pm                                                                                                                    
cp -f dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp lib/ExtUtils/xsubpp                                                                             
Updating 'git_version.h' and 'lib/Config_git.pl'                                                                                                cflags.SH: Adding -Werror=pointer-arith.                                                                                                        
cflags.SH: Adding -Wextra.                                                                                                                      
cflags.SH: Adding -Wc++-compat.                                                                                                                 
cflags.SH: Adding -Wwrite-strings.                                                                                                              
cflags.SH: Adding -Werror=declaration-after-statement.                                                                                          
cflags.SH: cc       = x86_64-mlfs-linux-musl-gcc                                                                                                
cflags.SH: ccflags  = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                                
cflags.SH: stdflags =                                                                                                                           
cflags.SH: optimize = -fwrapv -fno-strict-aliasing                                                                                              
cflags.SH: warn     =  -Wall -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror=declaration-after-statement                     
Extracting cflags (with variable substitutions)
./miniperl_top configpm
make[1]: *** [Makefile:207: lib/Config.pm] Segmentation fault
make[1]: Leaving directory '/mnt/mlfs/sources/perl-5.34.0'
make: *** [Makefile:80: all] Error 2 

kernel log shows:

miniperl[29079]: segfault at 57343900 ip 00000000005794f5 sp 00007ffefe3ed200 error 4 in miniperl[405000+2cd000]
Code: 40 01 0f b6 c0 89 85 34 ff ff ff c7 85 e4 fe ff ff 00 00 00 00 48 8b 85 c8 f9 ff ff 48 8b 40 10 48 39 45 88 73 0c 48 8b 45 88 <0f> b6 00 0f b6 c0 eb 05 b8 f6 ff ff ff 89 85 64 ff ff ff 81 bd 34

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions