Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64497 - media-video/cinelerra: cpu_accel.c:59: error: can't find a register in class `BREG' while reloading `asm'
Summary: media-video/cinelerra: cpu_accel.c:59: error: can't find a register in class ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 03:26 UTC by Ole Tange
Modified: 2006-09-14 03:37 UTC (History)
2 users (show)

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


Attachments
Output from emerge cinelerra (cinelerra.out,82.42 KB, text/plain)
2004-09-18 03:27 UTC, Ole Tange
Details
Output from emerge info (emerge-info,2.50 KB, text/plain)
2004-09-18 03:28 UTC, Ole Tange
Details
Output from emerge cinelerra-cvs (cineæewrra,174.98 KB, text/plain)
2005-03-28 15:05 UTC, Ole Tange
Details
/var/tmp/portage/cinelerra-cvs-20060619/temp/ccWmOVqr.out (ccWmOVqr.out,254.67 KB, text/plain)
2006-08-02 14:43 UTC, Sam Walliser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2004-09-18 03:26:55 UTC
emerge cinelerra gives the attached output.


Reproducible: Always
Steps to Reproduce:
Comment 1 Ole Tange 2004-09-18 03:27:39 UTC
Created attachment 39833 [details]
Output from emerge cinelerra
Comment 2 Ole Tange 2004-09-18 03:28:16 UTC
Created attachment 39834 [details]
Output from emerge info
Comment 3 Ole Tange 2004-09-25 12:33:16 UTC
I had a gut feeling that this was caused by USE=hardened. So I tried removing
'hardened' and recompiled first gcc then cinelerra. It works. I thereby feel
that it is proven that it is the 'hardened' version of gcc that conflicts with
cinelerra.

See also Bug 65215.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-21 01:26:18 UTC
cinelerra is now masked:

# <lu_zero@gentoo.org> (14 Jan 2005)
# Cinelerra is too broken to be fixed

Maybe this should be closed?
Comment 5 Luca Barbato gentoo-dev 2005-03-28 04:49:48 UTC
please test cinelerra-cvs cinelerra is actively deprecated since is unbuildable w/out lots of dirty hacks
Comment 6 Ole Tange 2005-03-28 15:04:30 UTC
I tried. cinelerra-cvs depends on media-libs/openexr-1.2.2 and that fails. Output attached.
Comment 7 Ole Tange 2005-03-28 15:05:39 UTC
Created attachment 54722 [details]
Output from emerge cinelerra-cvs
Comment 8 Luca Barbato gentoo-dev 2005-04-22 04:09:01 UTC
basically there is a silent dep on a late version of openexr, isn't it?
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 15:48:34 UTC
The latter seems to be a problem with openexr itself.
Comment 10 Stian Skjelstad 2005-07-28 03:30:58 UTC
hardened causes PIC if I remember right, so there is the source of the problem.
Comment 11 Stian Skjelstad 2005-07-28 03:42:40 UTC
cinelerra-1.1.7/libmpeg3/video/output.c uses 6 of 6 x86 registers, so it can't
do PIC (or hardened)
Comment 12 Ole Tange 2005-07-28 04:16:15 UTC
You are probably right. 
 
So what would be the right thing to do when people do: 
 
  USE=hardened emerge cinelerra 
 
I believe the current error message is not the right thing to do. I 
see two options: 
 
1) Ignore the hardened-flag and emerge cinelerra without 
hardening. This would be right thing for me: I really care about the 
hardening for network daemons; whereas hardening user applications is 
not so important to me. 
 
2) Tell the user that cinelerra can only be emerged with the hardening 
flag off (e.g. using USE=-hardening). This would be the right thing 
for people that want to be absolutely sure that everything is hardened 
and who would rather not have installed the software than having a 
non-hardened version installed. 
 
I believe it is important that Gentoo can be installed without having 
to know every tiny detail. If people got a popup box saying: "It is 
not possible to install cinelerra with hardening. Do you want 
installation without hardening?" I believe most would choose to 
install anyway. Therefore I believe option 1 is the right thing to do. 
 
Comment 13 Sam Walliser 2006-08-02 14:43:36 UTC
Created attachment 93298 [details]
/var/tmp/portage/cinelerra-cvs-20060619/temp/ccWmOVqr.out
Comment 14 Sam Walliser 2006-08-02 14:44:27 UTC
Comment on attachment 93298 [details]
/var/tmp/portage/cinelerra-cvs-20060619/temp/ccWmOVqr.out

Edit: Apologies, wrong bug # - please disregard this
Comment 15 Matthias Schwarzott gentoo-dev 2006-09-14 03:37:39 UTC
This bug will be closed as cinelerra has been removed from the tree 6 month ago.
The openexr problem deserves a own bug if it still exists.