Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250724 - perl-core/Scalar-List-Utils-1.19 ignores my ldflags
Summary: perl-core/Scalar-List-Utils-1.19 ignores my ldflags
Status: RESOLVED DUPLICATE of bug 233354
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-12 18:55 UTC by Robert Wohlrab
Modified: 2008-12-12 19:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wohlrab 2008-12-12 18:55:45 UTC
I tested your package and it seems to ignore my LDFLAGS with "-Wl,--no-add-needed -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed". When I force my flags with my own gcc_specs file in link (!static) to test the package. I noticed that different parts doesn't link against needed libs.... should be fixed by upstream and gentoo

>>> Emerging (1 of 1) perl-core/Scalar-List-Utils-1.19
 * Scalar-List-Utils-1.19.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                              [ ok ]
>>> Unpacking source...                                                                                                                                                                                   
>>> Unpacking Scalar-List-Utils-1.19.tar.gz to /var/tmp/portage/perl-core/Scalar-List-Utils-1.19/work                                                                                                     
>>> Source unpacked.                                                                                                                                                                                      
>>> Compiling source in /var/tmp/portage/perl-core/Scalar-List-Utils-1.19/work/Scalar-List-Utils-1.19 ...                                                                                                 
 * Using ExtUtils::MakeMaker                                                                                                                                                                              
Checking if your kit is complete...                                                                                                                                                                       
Looks good                                                                                                                                                                                                
Writing Makefile for List::Util                                                                                                                                                                           
cp lib/List/Util.pm blib/lib/List/Util.pm                                                                                                                                                                 
cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm                                                                                                                                                             
/usr/bin/perl5.8.8 "-Iinc" /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap  Util.xs > Util.xsc && mv Util.xsc Util.c                                             
x86_64-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe   -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE"  -DPERL_EXT Util.c                                                                                                                                       
Running Mkbootstrap for List::Util ()                                                                                                                                                                      
chmod 644 Util.bs                                                                                                                                                                                          
rm -f blib/arch/auto/List/Util/Util.so                                                                                                                                                                     
x86_64-pc-linux-gnu-gcc  -shared -L/usr/local/lib64 Util.o  -o blib/arch/auto/List/Util/Util.so         \                                                                                                  
                \                                                                                                                                                                                          
                                                                                                                                                                                                           
Util.o: In function `XS_Scalar__Util_isweak':                                                                                                                                                              
Util.c:(.text+0x7): undefined reference to `PL_markstack_ptr'                                                                                                                                              
Util.c:(.text+0xe): undefined reference to `PL_stack_base'                                                                                                                                                 
Util.c:(.text+0x15): undefined reference to `PL_stack_sp'                                                                                                                                                  
Util.c:(.text+0x58): undefined reference to `PL_sv_no'                                                                                                                                                     
Util.c:(.text+0x87): undefined reference to `PL_sv_yes'                                                                                                                                                    
Util.c:(.text+0x97): undefined reference to `Perl_croak'                                                                                                                                                   
Util.o: In function `boot_List__Util':                                                                                                                                                                     
[...]
Util.c:(.text+0x2ad4): undefined reference to `Perl_mg_set'                                                                                                                                                
collect2: ld returned 1 exit status                                                                                                                                                                        
make: *** [blib/arch/auto/List/Util/Util.so] Error 1                                                                                                                                                       
 *                                                                                                                                                                                                         
 * ERROR: perl-core/Scalar-List-Utils-1.19 failed.                                                                                                                                                         
 * Call stack:                                                                                                                                                                                             
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                                                 
 *             environment, line 2412:  Called perl-module_src_compile                                                                                                                                     
 *             environment, line 2145:  Called die                                                                                                                                                         
 * The specific snippet of code:                                                                                                                                                                           
 *           make ${mymake} || die "compilation failed";                                                                                                                                                   
 *  The die message:
 *   compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/perl-core/Scalar-List-Utils-1.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-core/Scalar-List-Utils-1.19/temp/environment'.
 *

>>> Failed to emerge perl-core/Scalar-List-Utils-1.19, Log file:

>>>  '/var/tmp/portage/perl-core/Scalar-List-Utils-1.19/temp/build.log'

 * Messages for package perl-core/Scalar-List-Utils-1.19:

 *
 * ERROR: perl-core/Scalar-List-Utils-1.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2412:  Called perl-module_src_compile
 *             environment, line 2145:  Called die
 * The specific snippet of code:
 *           make ${mymake} || die "compilation failed";
 *  The die message:
 *   compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/perl-core/Scalar-List-Utils-1.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-core/Scalar-List-Utils-1.19/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-12 19:20:56 UTC

*** This bug has been marked as a duplicate of bug 233354 ***