Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52657 - dev-lang/perl-5.8.4 linker parameters missing ?
Summary: dev-lang/perl-5.8.4 linker parameters missing ?
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 52617
Blocks:
  Show dependency tree
 
Reported: 2004-05-31 23:06 UTC by Philippe Trottier (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
1 user (show)

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 Philippe Trottier (RETIRED) gentoo-dev 2004-05-31 23:06:04 UTC
LD_RUN_PATH="" gcc  -L/usr/local/lib C.o  -o ../../../lib/auto/B/C/C.so
/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/../../../../lib64/crt1.o(.data.rel.ro.local+0x8): undefined reference to `main'
C.o(.text+0x3c): In function `.my_runops':
: undefined reference to `.Perl_get_hv'
C.o(.text+0x4c): In function `.my_runops':
: undefined reference to `.Perl_newSViv'
C.o(.text+0xb8): In function `.my_runops':
: undefined reference to `.Perl_despatch_signals'
C.o(.text+0xd8): In function `.my_runops':
: undefined reference to `.Perl_newSViv'
C.o(.text+0xe8): In function `.my_runops':
: undefined reference to `.Perl_safesysmalloc'
C.o(.text+0x12c): In function `.my_runops':
: undefined reference to `.Perl_sv_setiv'
C.o(.text+0x140): In function `.my_runops':
: undefined reference to `.Perl_sv_setref_iv'
C.o(.text+0x158): In function `.my_runops':
: undefined reference to `.Perl_hv_store_ent'
C.o(.text+0x198): In function `.my_runops':
: undefined reference to `.Perl_sv_free'
C.o(.text+0x30c): In function `.boot_B(void) const':
: undefined reference to `.Perl_croak'
C.o(.text+0x370): In function `.boot_B(void) const':
: undefined reference to `.Perl_form'
C.o(.text+0x37c): In function `.boot_B(void) const':
: undefined reference to `.Perl_get_sv'
C.o(.text+0x3ac): In function `.boot_B(void) const':
: undefined reference to `.Perl_form'
C.o(.text+0x3b8): In function `.boot_B(void) const':
: undefined reference to `.Perl_get_sv'
C.o(.text+0x3d4): In function `.boot_B(void) const':
: undefined reference to `.Perl_sv_2pv_flags'
C.o(.text+0x400): In function `.boot_B(void) const':
: undefined reference to `.Perl_sv_2pv_flags'
C.o(.toc+0x8): undefined reference to `PL_sig_pending'
C.o(.toc+0x10): undefined reference to `PL_op'
C.o(.toc+0x20): undefined reference to `PL_tainted'
C.o(.toc+0x28): undefined reference to `PL_stack_sp'
C.o(.toc+0x30): undefined reference to `PL_markstack_ptr'
C.o(.toc+0x38): undefined reference to `PL_stack_base'
C.o(.toc+0x88): undefined reference to `PL_runops'
C.o(.toc+0x98): undefined reference to `PL_sv_yes'
collect2: ld returned 1 exit status

another -shared flag not passed ...

cd ext/B/C
LD_RUN_PATH="" gcc  -L/usr/local/lib C.o  -shared -o ../../../lib/auto/B/C/C.so
works fine...

Now trying to find where to sneak the -shared flag in wihtout breaking to whole wide world...
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2004-05-31 23:12:17 UTC
same thing in ext/B
LD_RUN_PATH="" gcc  -L/usr/local/lib B.o  -o ../../lib/auto/B/B.so -shared

same thing in ext/ByteLoader
LD_RUN_PATH="" gcc  -L/usr/local/lib byterun.o ByteLoader.o  -o ../../lib/auto/ByteLoader/ByteLoader.so -shared

Cwd and probably many others ... but I must go to work ... bbl

Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2004-06-01 07:12:15 UTC
OK this was all the trouble that uname -a gave to us... since uname -a was Segfaulting then this package couldn't find what to do with the shared lib...

coreutils patch fixed it, done we can close this.
Comment 3 Philippe Trottier (RETIRED) gentoo-dev 2004-06-01 07:13:39 UTC
just to point at the coreutils bug
Comment 4 Tom Gall (RETIRED) gentoo-dev 2004-06-01 10:33:11 UTC
ok stick a fork in it!  yeah for uname!