Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem building perl5.005_60 with -Doptimize=-g -Duseperlio #405

Closed
p5pRT opened this issue Aug 20, 1999 · 2 comments
Closed

problem building perl5.005_60 with -Doptimize=-g -Duseperlio #405

p5pRT opened this issue Aug 20, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 20, 1999

Migrated from rt.perl.org#1240 (status was 'resolved')

Searchable as RT1240$

@p5pRT
Copy link
Author

p5pRT commented Aug 20, 1999

From rmb1@cise.npl.co.uk

I narrowed the problem down a bit

It builds OK with

../Configure -des -Dcc=gcc -Doptimize=-g && make
../Configure -des -Dcc=gcc -Duseperlio && make

but

../Configure -des -Dcc=gcc -Doptimize=-g -Duseperlio && make

stops with

rm -f libperl.a
/usr/ccs/bin/ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.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 globals.o perlio.o
gcc -L/usr/local/lib -L/opt/gnu/lib -o miniperl miniperlmain.o libperl.a -lsocket -lnsl -ldl -lm -lrt -lc -lcrypt -lsec
Undefined first referenced
symbol in file
ckWARN_s libperl.a(perlio.o)
ld​: fatal​: Symbol referencing errors. No output written to miniperl
collect2​: ld returned 1 exit status
make​: *** [miniperl] Error 1

Robin

Output of ./myconfig

Summary of my perl5 (revision 5.0 version 5 subversion 60) configuration​:
  Platform​:
  osname=solaris, osvers=2.7, archname=sun4-solaris
  uname='sunos tempest 5.7 generic_106541-04 sun4u sparc sunw,ultra-5_10 '
  config_args='-des -Dcc=gcc -Doptimize=-g -Duseperlio'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=define d_sfio=undef
  use64bits=undef usemultiplicity=undef
  Compiler​:
  cc='gcc', optimize='-g', gccversion=2.95.1 19990816 (release)
  cppflags='-DDEBUGGING -I/usr/local/include -I/opt/gnu/include'
  ccflags ='-DDEBUGGING -I/usr/local/include -I/opt/gnu/include'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
  libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -ldl -lm -lrt -lc -lcrypt -lsec
  libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@p5pRT
Copy link
Author

p5pRT commented Aug 23, 1999

From [Unknown Contact. See original ticket]

-Doptimize=-g -Duseperlio
X-Sun-Charset​: US-ASCII

This problem is fixed in perl5.005_61

Robin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant