Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33523 - libquicktime doesn't build on amd64
Summary: libquicktime doesn't build on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 10966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-14 17:58 UTC by E. Papegaaij
Modified: 2003-12-12 11:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix plugins/rtjpeg (amd64-rtjpeg-fixes.patch,2.57 KB, patch)
2003-11-14 18:05 UTC, E. Papegaaij
Details | Diff
new fix for plugins/rtjpeg (amd64-rtjpeg-fixes.patch,2.79 KB, patch)
2003-11-15 09:05 UTC, E. Papegaaij
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description E. Papegaaij 2003-11-14 17:58:34 UTC
The plugins/rtjpeg directory doesn't build on the amd64 platform. It's missing 
the -fPIC flag and there's an invalid typecast in RTjpeg.c.  

Reproducible: Always
Steps to Reproduce:
Comment 1 E. Papegaaij 2003-11-14 18:05:34 UTC
Created attachment 20758 [details, diff]
Fix plugins/rtjpeg

This patch made it compile, but I don't know how to test this lib. The -fPIC
should be fine, but I'm not sure if it's ok to convert the 'uint64_t' to
'unsigned long long int'. On the amd64, the 'uint64_t' is defined as 'unsigned
long int', that's what is causing the problem. The size of 'unsigned long long
int' equals that of 'uint64_t', so I think the patch is fine.
Comment 2 E. Papegaaij 2003-11-15 09:05:17 UTC
Created attachment 20784 [details, diff]
new fix for plugins/rtjpeg

This patch contains the same fixes for -fPIC, but it changes the definition of
mmx_t to use the right types on all systems, in stead of relying on unsigned
long long int being 8 bytes.
Comment 3 Brad House 2003-11-18 07:06:22 UTC
*** Bug 10966 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2003-12-12 11:24:38 UTC
Added to CVS