Subject: pkg/7463: ImageMagick uses -R instead of -Wl,-R with cc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/24/1999 07:05:47
>Number: 7463
>Category: pkg
>Synopsis: ImageMagick uses -R instead of -Wl,-R with cc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 24 07:05:00 1999
>Last-Modified:
>Originator: Todd Vierling
>Organization:
DuhNet: Pointing out the obvious since 1994.
>Release: -current as of Now
>Environment:
N/A
>Description:
The ImageMagick pkg uses -R with cc, which does not work on 1.3.x based
ELF systems.
>How-To-Repeat:
Compile on NetBSD/alpha or NetBSD/pmax 1.3.x.
>Fix:
Change macros to use -Wl,-R${PREFIX}/lib with cc, or better yet inherit
${LDFLAGS} from make's environment.
Matthias (tron) has noted thatsome of the same macros are used with `ld'
when linking some shared objects. If that is the case, the macro
expansions do need to be modified to use different macros for cc and ld.
>Audit-Trail:
>Unformatted: