Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105088 - perl -MO=CC perlcc can't locate "_save_common_middle"
Summary: perl -MO=CC perlcc can't locate "_save_common_middle"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 18:40 UTC by n.outpost
Modified: 2008-02-27 17:54 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 n.outpost 2005-09-06 18:40:35 UTC
perl -MO=CC and perlcc are broken.

They error out with "Can't locate object method "_save_common_middle" via
package "B::FAKEOP" at /usr/lib/perl5/5.8.6/i686-linux/B/C.pm line 389." every time.

Reproducible: Always
Steps to Reproduce:
1. echo "print 'moo';" > test.pl
2. perl -MO=CC,-otest.c test.pl     OR     perlcc -o test.c -O test.pl

Actual Results:  
Can't locate object method "_save_common_middle" via package "B::FAKEOP" at
/usr/lib/perl5/5.8.6/i686-linux/B/C.pm line 389.
CHECK failed--call queue aborted.

test.c is empty

Expected Results:  
test.c should contain C code converted from the Perl code.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-01-18 15:23:16 UTC
perlcc -o test test.pl works
perlcc -S -o test2 test.pl works

where are you getting -MO? (not in documentation(any more?))
Comment 2 Chris White (RETIRED) gentoo-dev 2006-01-27 22:11:03 UTC
http://guest@rt.perl.org/rt3/Ticket/Display.html?id=2900

upstream issue located here.  Same thing on my side :/...