Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Apr 30, 2012, 2:20 PM

Post #1 of 5 (139 views)
Permalink
[perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o

On Mon Apr 30 11:39:25 2012, Carl.Furst [at] mlb wrote:
> Cmd:
>
> /opt/SUNWspro/bin/cc -L/usr/lib -L/usr/ccs/lib
> -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib
> -L/usr/local/lib -o miniperl \
> gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
> mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o
> doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o
> globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o
> pp_sort.o \
> miniperlmain.o opmini.o perlmini.o -lsocket -lnsl -ldl -lm -lc
>
> Produced the following error:
>
> Undefined first referenced
> symbol in file
> __dtrace_perl___sub__entry pp_hot.o
> __dtraceenabled_perl___sub__return pp_hot.o
> __dtraceenabled_perl___sub__entry pp_hot.o
> __dtrace_perl___sub__return pp_hot.o
> ld: fatal: Symbol referencing errors. No output written to miniperl
> *** Error code 2
> make: Fatal error: Command failed for target `miniperl'
>
>
> I did say that to use dtrace and dtrace is located at
> /usr/sbin/dtrace.
>
> Not sure what I did wrong.

Can you post the Configure with options command you used?

> Should I compile without dtrace?

For diagnostic purposes, it would probably be worthwhile to try building
from source with just minimal options, i.e., without dtrace.

Thank you very much.
Jim Keenan

---
via perlbug: queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112698


perlbug-followup at perl

Apr 30, 2012, 11:39 AM

Post #2 of 5 (132 views)
Permalink
[perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o [In reply to]

# New Ticket Created by "Furst, Carl"
# Please include the string: [perl #112698]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112698 >


Cmd:

/opt/SUNWspro/bin/cc -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib -o miniperl \
gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \
miniperlmain.o opmini.o perlmini.o -lsocket -lnsl -ldl -lm -lc

Produced the following error:

Undefined first referenced
symbol in file
__dtrace_perl___sub__entry pp_hot.o
__dtraceenabled_perl___sub__return pp_hot.o
__dtraceenabled_perl___sub__entry pp_hot.o
__dtrace_perl___sub__return pp_hot.o
ld: fatal: Symbol referencing errors. No output written to miniperl
*** Error code 2
make: Fatal error: Command failed for target `miniperl'


I did say that to use dtrace and dtrace is located at /usr/sbin/dtrace.

Not sure what I did wrong. Should I compile without dtrace? Would I still be able to trace/dtrace a perl process??

Thanks,
Carl Furst
CMS Developer






**********************************************************

MLB.com: Where Baseball is Always On


Carl.Furst at mlb

Apr 30, 2012, 2:30 PM

Post #3 of 5 (133 views)
Permalink
Re: [perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o [In reply to]

I did the interactive version, config.sh attached
Carl Furst






On 4/30/12 5:20 PM, "James E Keenan via RT" <perlbug-followup [at] perl>
wrote:

>On Mon Apr 30 11:39:25 2012, Carl.Furst [at] mlb wrote:
>> Cmd:
>>
>> /opt/SUNWspro/bin/cc -L/usr/lib -L/usr/ccs/lib
>> -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib
>> -L/usr/local/lib -o miniperl \
>> gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
>> mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o
>> doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o
>> globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o
>> pp_sort.o \
>> miniperlmain.o opmini.o perlmini.o -lsocket -lnsl -ldl -lm -lc
>>
>> Produced the following error:
>>
>> Undefined first referenced
>> symbol in file
>> __dtrace_perl___sub__entry pp_hot.o
>> __dtraceenabled_perl___sub__return pp_hot.o
>> __dtraceenabled_perl___sub__entry pp_hot.o
>> __dtrace_perl___sub__return pp_hot.o
>> ld: fatal: Symbol referencing errors. No output written to miniperl
>> *** Error code 2
>> make: Fatal error: Command failed for target `miniperl'
>>
>>
>> I did say that to use dtrace and dtrace is located at
>> /usr/sbin/dtrace.
>>
>> Not sure what I did wrong.
>
>Can you post the Configure with options command you used?
>
>> Should I compile without dtrace?
>
>For diagnostic purposes, it would probably be worthwhile to try building
>from source with just minimal options, i.e., without dtrace.
>
>Thank you very much.
>Jim Keenan






**********************************************************

MLB.com: Where Baseball is Always On
Attachments: config.sh (25.2 KB)


perlbug-followup at perl

Apr 30, 2012, 5:25 PM

Post #4 of 5 (132 views)
Permalink
[perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o [In reply to]

On Mon Apr 30 11:39:25 2012, Carl.Furst [at] mlb wrote:
> Cmd:
>
> /opt/SUNWspro/bin/cc -L/usr/lib -L/usr/ccs/lib
> -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib
> -L/usr/local/lib -o miniperl \
> gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
> mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o
> doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o
> globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o
> pp_sort.o \
> miniperlmain.o opmini.o perlmini.o -lsocket -lnsl -ldl -lm -lc
>
> Produced the following error:

What version of perl is this?

What options did you supply to Configure?

Tony

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112698


perlbug-followup at perl

May 7, 2012, 2:37 AM

Post #5 of 5 (125 views)
Permalink
[perl #112698] Undefined symbols when compiling to miniperl on solaris 10 -- dtrace symbols in pp_hot.o [In reply to]

On Thu May 03 01:50:13 2012, Carl.Furst [at] mlb wrote:
> I did the interactive version, config.sh attached
> Carl Furst

From your config.sh it appears you're trying to build perl 5.10.1 which
is no longer supported.

I managed to reproduce your problem on 5.10.0 with:

./Configure -des -Dprefix=/home/tony/perl/5.10.1 -Dusedtrace
-Duse64bitint && make

I then tested that with 5.14.1, which built successfully.

This appears to have been fixed in 3d450a5dd4e8f9a7b2aba0b018f9fe078fb6aa30

Tony

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112698

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.