Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #3
Closed
Open
Issue created Aug 14, 2000 by Peter Bortas@zinoOwner

The image module is compiled with -fpic when it should be compiled with -fPIC on Linux RH 6.2/sparc.

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3

Reported by @grubba

From: Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
Date: Fri, 7 Jul 2000 16:46:15 +0200 (CEST)
Subject: problems for compiling pikev7.0.36 on sparc linux redhat 6.2

Hello

I'm trying to compile pike v7.0.36 on my sparc linux 6.2 and i got the following message

make[3]: Leaving directory
`/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings'
linking Image
encodings/encodings.a(png.o): In function `img_png_decode':
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1380:
relocation
truncated to fit: R_SPARC_GOT13 LLC50
encodings/encodings.a(png.o): In function `image_png_encode':
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1432:
relocation
truncated to fit: R_SPARC_GOT13 LLC51
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1437:
relocation
truncated to fit: R_SPARC_GOT13 LLC52
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1440:
relocation
truncated to fit: R_SPARC_GOT13 LLC53
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1445:
relocation
truncated to fit: R_SPARC_GOT13 LLC54
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1454:
relocation
truncated to fit: R_SPARC_GOT13 LLC55
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/png.c:1460:
relocation
truncated to fit: R_SPARC_GOT13 LLC56
[.....]
lots of similar messages
[...]
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/tim.c:339:
relocation
truncated to fit: R_SPARC_GOT13 LLC28
/home/glopglop/Pike-v7.0.36/src/modules/Image/encodings/tim.c:339:
relocation
truncated to fit: R_SPARC_GOT13 image_tim_f_decode_header
collect2: ld returned 1 exit status
Linking failed:
/home/glopglop/Pike-v7.0.36/bin/smartlink
/home/glopglop/Pike-v7.0.36/src/smartlink gcc -shared -o module.so
image_module.o image.o font.o matrix.o blit.o pattern.o dct.o operator.o
colortable.o polyfill.o orient.o colors.o search.o layers.o default_font.o
poly.o encodings/encodings.a -R/usr/local/lib -L/usr/local/lib
-R/usr/X11R6/lib -L/usr/X11R6/lib
/usr/lib/gcc-lib/sparc-redhat-linux/egcs-2.91.66/libgcc.a -lc
/usr/lib/gcc-lib/sparc-redhat-linux/egcs-2.91.66/libgcc.a
cp: module.so: Aucun fichier ou répertoire de ce type
make[2]: *** [dummy] Error 1
make[2]: Leaving directory `/home/glopglop/Pike-v7.0.36/src/modules/Image'
make[1]: *** [Image] Error 1
make[1]: Leaving directory `/home/glopglop/Pike-v7.0.36/src/modules'
make: *** [module_objects] Error 1

The compiler i use is egcs 1.1.2

Has someone succeed in compiling this version of pike in a sparc platform with redhat 6.2

Thanks in advance

-- Eric Doutreleau I.N.T | Tel : +33 (0) 160764687 9 rue Charles Fourier | Fax : +33 (0) 160764321 91011 Evry France | email : Eric.Doutreleau@int-evry.fr

Assignee
Assign to
Time tracking