Bug 74806 - multimedia/libfame: fix _mmx_one references on GCC 3.4
Summary: multimedia/libfame: fix _mmx_one references on GCC 3.4
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 10:00 UTC by hendrik
Modified: 2004-12-08 19:29 UTC (History)
1 user (show)

See Also:


Attachments
patch-src:half_sse.h (712 bytes, text/plain)
2004-12-07 10:00 UTC, hendrik
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hendrik 2004-12-07 10:00:46 UTC
libfame is not usable on a recent GCC.
Symptoms include this error:
/usr/local/lib/libfame.so: undefined reference to `_mmx_one'

A fix has been posted to
http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch

This upgrade adds two patches to files/ named patch-src:half_sse.h and
patch-src:half_mmx.h

How-To-Repeat: Try to compile transcode with GCC 3.4 and libfame 0.9.1 without patches:

configure:38689: cc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/compat/linux/usr/include/divx -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lm -lz   -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lfame >&5
/usr/local/lib/libfame.so: undefined reference to `_mmx_one'
configure:38695: $? = 1
configure: failed program was:

.. works as expected with the provided patch
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-08 19:29:17 UTC
State Changed
From-To: open->closed

Committed, thanks1