Bug 138009 - math/muparser: fix linking with muparser on amd64
Summary: math/muparser: fix linking with muparser on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 04:50 UTC by Max Brazhnikov
Modified: 2009-08-21 23:30 UTC (History)
0 users

See Also:


Attachments
file.diff (800 bytes, patch)
2009-08-21 04:50 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov freebsd_committer freebsd_triage 2009-08-21 04:50:00 UTC
science/kst fails on amd64:
/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kstfit_general_levenberg_marquardt.la -rpath /usr/local/lib/kde3/kstplugins -module -avoid-version -module -no-undefined  -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib   -D_THREAD_SAFE -pthread  -L/usr/local/lib kstfit_general_levenberg_marquardt.lo -lgsl -lgslcblas -lm -lmuparser -lm -Wl,-export-dynamic -L/usr/local/lib -ljpeg  -L/usr/local/lib
/usr/bin/ld: /usr/local/lib/libmuparser.a(muParser_lib_muParser.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-21 04:50:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nivit

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-08-21 23:24:08 UTC
nivit       2009-08-21 22:23:56 UTC

  FreeBSD ports repository

  Modified files:
    math/muparser        Makefile 
  Log:
  - Add -fPIC to CFLAGS when ARCH equals to amd64 or ia64
  - Bump PORTREVISION
  
  PR:             ports/138009
  Submitted by:   makc
  
  Revision  Changes    Path
  1.9       +8 -1      ports/math/muparser/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Nicola Vitale freebsd_committer freebsd_triage 2009-08-21 23:24:26 UTC
State Changed
From-To: open->closed

Committed, thanks!