Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33523

Summary: libquicktime doesn't build on amd64
Product: Gentoo Linux Reporter: E. Papegaaij <epapegaaij>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: matsuu, tedgoodridgejr
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix plugins/rtjpeg
new fix for plugins/rtjpeg

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