develooper Front page | perl.perl5.porters | Postings from May 2010

Re: [perl #7498] Problems building 5.6.1 with gcc under irix 6.5

Thread Previous
From:
Andrew Williams
Date:
May 16, 2010 06:53
Subject:
Re: [perl #7498] Problems building 5.6.1 with gcc under irix 6.5
Message ID:
AANLkTiksUYBHXOi5rixE_84G4UW4cBEtzDUz1mUrFQk3@mail.gmail.com
Don't have the machine anymore.

On Fri, May 14, 2010 at 5:54 PM, Alexandr Ciornii via RT <
perlbug-followup@perl.org> wrote:

> Hello.
>
> Sorry for this very very late answer. Can you (or someone other) try
> building Perl 5.12.1RC on Irix?
>
> On Wed Aug 08 05:19:09 2001, amw1@yahoo.com wrote:
> >
> > gcc 2.95.3 (built using a precompiled version of gcc)
> > gmake 3.79.1
> >
> >
> > Errors during build
> > gmake[1]: Entering directory `/usr/people/andrew/Build/perl-
> > 5.6.1/ext/B'
> > rm -f ../../lib/auto/B/B.so
> > LD_RUN_PATH="" /usr/local/bin/gcc  -mabi=64 -L/usr/lib64
> > -L/usr/local/lib B.o
> > -o ../../lib/auto/B/B.so
> > ld64: ERROR 33: Unresolved text symbol "main" -- 1st referenced by
> > /usr/lib64/mips3/crt1.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "PL_opargs" -- 1st referenced
> > by B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "PL_op_name" -- 1st referenced
> > by B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_warn" -- 1st referenced
> > by B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_newSVpvn" -- 1st
> > referenced by
> > B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_sv_setpvn" -- 1st
> > referenced by
> > B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_sv_2pv" -- 1st referenced
> > by B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_sv_catpv" -- 1st
> > referenced by
> > B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "Perl_sv_catpvn" -- 1st
> > referenced by
> > B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > ld64: ERROR 33: Unresolved text symbol "PL_stack_sp" -- 1st referenced
> > by B.o.
> >         Use linker option -v to see when and which objects, archives
> > and dsos
> > are loaded.
> > .
> > .
> > .
> >
> > Several more along the same lines
> >
> >
> > Output of myconfig (I have tried with and without -DPERL_POLLUTE as
> > suggested
> > on #perl on efnet)
> >
> > oontz 94% myconfig
> > Summary of my perl5 (revision 5.0 version 6 subversion 1)
> > configuration:
> >   Platform:
> >     osname=irix, osvers=6.5, archname=IP27-irix
> >     uname='irix64 oontz 6.5 01221553 ip27 '
> >     config_args='-Dcc=/usr/local/bin/gcc -Accflags=-DPERL_POLLUTE -d'
> >     hint=previous, useposix=true, d_sigaction=define
> >     usethreads=undef use5005threads=undef useithreads=undef
> > usemultiplicity=undef
> >     useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
> >     use64bitint=define use64bitall=define uselongdouble=undef
> >   Compiler:
> >     cc='/usr/local/bin/gcc', ccflags ='-D_BSD_TYPES -D_BSD_TIME
> > -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -I/usr/local/include
> > -DLANGUAGE_C -DPERL_POLLUTE',
> >     optimize='-O3',
> >     cppflags='-D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64
> > -fno-strict-aliasing -I/usr/local/include -DLANGUAGE_C -DPERL_POLLUTE'
> >     ccversion='', gccversion='2.95.3 20010315 (release)',
> > gccosandvers='irix6.5'
> >     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
> >     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
> >     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
> > lseeksize=8
> >     alignbytes=8, usemymalloc=y, prototype=define
> >   Linker and Libraries:
> >     ld='/usr/local/bin/gcc', ldflags =' -mabi=64 -L/usr/lib64
> > -Wl,-woff,84
> > -L/usr/local/lib'
> >     libpth=/usr/local/lib /usr/lib /lib
> >     libs=-ldb -lm -lc
> >     perllibs=-lm -lc
> >     libc=, so=so, useshrplib=false, libperl=libperl.a
> >   Dynamic Linking:
> >     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> >     cccdlflags='-fpic', lddlflags=' -mabi=64 -L/usr/lib64
> > -L/usr/local/lib'
> >
> > nm reveals that the compiled symbols do exist.  I just can't get the
> > linker to
> > find/recognize them.
> >
> > I've spent a good ammount of time trying to find an answer and have
> > not been
> > able to.  Sorry if this has already been answered elsewhere.
> >
> > - andrew
>
> --
> Alexandr Ciornii, http://chorny.net
>
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About