Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 4541
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: slarco [...] slarco.com.ar
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 804.025_beta6
Fixed in: (no value)



Subject: make fails under Sol 8 x86 w/perl 5.8.2
Hi, I'm trying to build the distribution Tk-804.025_beta6, the perl Makefile.PL works ok but then the make fails under gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"804.025\" -DXS_VERSION=\"804.025\" -fPIC "-I/usr/local/lib/perl5/5.8.2/i86pc-solaris/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tkCanvas.c Assembler: tkCanvas.c "/var/tmp/ccjwYjY2.s", line 4662 : Illegal PC-relative relocation make[1]: *** [tkCanvas.o] Error 1 make[1]: Leaving directory `/export/home/fuentes/fuentes/perl/modules/Tk-804.025_beta6/pTk' make: *** [pTk/libpTk.a] Error 2 Here you will find the perl version Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=solaris, osvers=2.8, archname=i86pc-solaris uname='sunos gemini 5.8 generic_108529-22 i86pc i386 i86pc ' config_args='-de -Dcc=gcc' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Dec 2 2003 00:06:58 @INC: /usr/local/lib/perl5/5.8.2/i86pc-solaris /usr/local/lib/perl5/5.8.2 /usr/local/lib/perl5/site_perl/5.8.2/i86pc-solaris /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . OS Version: SunOS gemini 5.8 Generic_108529-22 i86pc i386 i86pc GNU Make version 3.76.1, by Richard Stallman and Roland McGrath. gcc version 2.95.2 19991024 (release) Regards, Sebastián
GCC has no business ever doing that. Please try a newer gcc. I don't see how Tk can fix this.