Subject: pkg/22570: freetype2 fails to compile (linker) on irix
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 08/22/2003 15:32:53
>Number: 22570
>Category: pkg
>Synopsis: freetype2 fails to compile (linker) on irix
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 22 15:33:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Bas van Oostveen
>Release: pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 07121149 IP32
uname -aR
IRIX washu 6.5 6.5.17m 07121149 IP32
>Description:
when compiling freetype2 when pkgsrc on irix
compile breaks libfreetype.so.9.3 with the following message
ld32: ERROR 48: Cannot access registry file .libs/so_locations (no such file or directoy) - ignored.
ld32: FATAL 51: CAn't assign virtual addresses for libfreetype.so.9 of size 20000 within specified range. Please check your registry file .libs/so_locations.
collect2: ld returned 4 exit status
tracking the problems down, the solution found is really trivial
the process (seems) build everything from work/freetype2 and within
that dir no .libs exists. (it does in work/freetype2/objs where libfreetype.so.9 is placed)
so creating a .libs directory in work/freetype2 solves the problem
and the package compiles happely.
i guess this is a Irix (maybe solaris too ?) problem since their linker (ld) uses so_locations files.
>How-To-Repeat:
bmake clean; bmake install
>Fix:
create a .libs directory in work/freetype2
(so ld/gcc can place the so_locations file there)
>Release-Note:
>Audit-Trail:
>Unformatted: