Bug 110525 - palm/palm-db-tools: attempt to fix amd64 build
Summary: palm/palm-db-tools: attempt to fix amd64 build
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: Ying-Chieh Liao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 17:10 UTC by Eric P. Scott
Modified: 2007-06-06 14:40 UTC (History)
0 users

See Also:


Attachments
file.diff (426 bytes, patch)
2007-03-19 17:10 UTC, Eric P. Scott
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric P. Scott 2007-03-19 17:10:03 UTC
Incorrect CXXFLAGS cause shared library link to fail on amd64.
There are three "simple" approaches to fixing this:

1. Do not build or install a shared library.  This is a solution
of last resort.

2. Enable libtool.  This fixes the shared library problem, but
the first executable gets compiled suboptimally, and the make
fails for the second executable.

3. (Chosen) Patch the Makefile.in files to compile position-
independent code for the shared objects.  There are a couple of
ways to do this; one possibility appears below.

I don't have access to an amd64 system running FreeBSD, so I
haven't actually tested this.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-19 17:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ijliao

Over to maintainer
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-06 14:30:28 UTC
State Changed
From-To: open->closed

Committed, thanks. Note your patch was not adequate - -fPIC is needed in CC 
line not in LD line for flatfile/Makefile.in. I have fixed that before 
committing.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-06-06 14:31:14 UTC
pav         2007-06-06 13:31:05 UTC

  FreeBSD ports repository

  Modified files:
    palm/palm-db-tools   Makefile 
  Log:
  - Unbreak on amd64
  
  PR:             ports/110525
  Submitted by:   Eric P. Scott <eps+pbug0703@ana.com>
  Approved by:    maintainer timeout (ijliao; 2 months)
  
  Revision  Changes    Path
  1.6       +5 -6      ports/palm/palm-db-tools/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"