Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Can't emerge mplayer

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
mistersnorfles
n00b
n00b
Posts: 32
Joined: Fri Aug 03, 2007 9:09 am

Can't emerge mplayer

  • Quote

Post by mistersnorfles » Thu Aug 09, 2007 8:14 am

I am unable to emerge mplayer...I get the following error:
cabac.h: In function `get_cabac_noinline':
cabac.h:526: error: PIC register `%ebx' clobbered in `asm'
h264.c: At top level:
cabac.h:113: warning: 'put_cabac_static' defined but not used
cabac.h:159: warning: 'put_cabac_terminate' defined but not used
cabac.h:187: warning: 'put_cabac_u' defined but not used
cabac.h:222: warning: 'put_cabac_ueg' defined but not used
cabac.h:274: warning: 'refill2' defined but not used
cabac.h:812: warning: 'get_cabac_u' defined but not used
cabac.h:828: warning: 'get_cabac_ueg' defined but not used
make[1]: *** [h264.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from idcinvideo.c:53:
avcodec.h:2252: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231)
avcodec.h:2258: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231)
idcinvideo.c: In function `idcin_decode_frame':
idcinvideo.c:219: warning: `AVPaletteControl' is deprecated (declared at avcodec.h:2181)
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0.20070622-r1/work/mplayer-20070622/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0.20070622-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3338: Called src_compile
mplayer-1.0.20070622-r1.ebuild, line 436: Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0.20070622-r1/temp/build.log'.
My use flags are - 3dnow 3dnowext X aac alsa dga directfb doc dv dvd encode fbcon gif gtk jpeg lirc mad mp3 opengl png quicktime rar real samba sse sse2 svga truetype unicode v4l vorbis win32codecs xvid. I am running Gentoo 2007.0, with the 2.6.20 hardened kernel.

Any ideas what might be going on here?

Thanks,
Mr. Snorfles
Top
_Seth_
Guru
Guru
User avatar
Posts: 539
Joined: Wed Sep 15, 2004 1:44 pm
Location: encore paumé dans un labo ;)

  • Quote

Post by _Seth_ » Thu Aug 09, 2007 9:28 am

Hi,
Can you post your emerge --info please ?

I found this on BGO :
Kevin F. Quinn wrote:"hardened" causes various compiler and linker options to be switched on by default, amongst other things. Usually these options don't cause any problem. However some packages, particularly those with hand-written 32-bit x86 assembler code can fail. This is common in the media packages where the only way to get any kind of decent throughput from the 32-bit x86 architecture with gcc is to write low-level assembler code by hand, and this is often not compatible with the hardened compiler options.
It's quite an old bug but it seems to be the same problem (assembler code with gcc hardened) :
mistersnorfles wrote:

Code: Select all

cabac.h:526: error: PIC register `%ebx' clobbered in `asm' 
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Thu Aug 09, 2007 9:31 am

Just post emerge --info. USE flags and kernel version don't help much. See this first though:
[bug=175627]mplayer failed to compile (can't find a register in class `BREG'...)[/bug]

esp. comment #15
Thomas S. Howard
Top
Vlad.Sharp
Guru
Guru
User avatar
Posts: 337
Joined: Wed Dec 08, 2004 9:30 am
Location: Cambridgeshire, UK

  • Quote

Post by Vlad.Sharp » Sun Aug 12, 2007 9:47 am

Hello, bug. Seems I've got it as well in hardened profile. Trying with a vanilla compiler now...

Edit: with nopienossp specs, mplayer compiles fine. Oh well, that seems to be fixed for now then :)
Top
webmaxx
n00b
n00b
Posts: 33
Joined: Sat Apr 30, 2005 8:24 pm
Location: Germany
Contact:
Contact webmaxx
Website

  • Quote

Post by webmaxx » Tue Dec 25, 2007 11:42 pm

Hey,

got the same problem for months now. But what does
with nopienossp specs, mplayer compiles fine
mean? I'm sorry, I couldn't find any information on "nopienossp" - what do I have to do?

Thanks in advance,
Max
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Tue Dec 25, 2007 11:55 pm

they're use flags iirc. "nopie" "nossp"

but those only look applicable to gcc, and not mplayer itself. :?
Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.
banned from #gentoo since sept 2017
Top
webmaxx
n00b
n00b
Posts: 33
Joined: Sat Apr 30, 2005 8:24 pm
Location: Germany
Contact:
Contact webmaxx
Website

  • Quote

Post by webmaxx » Wed Dec 26, 2007 8:49 am

Ah well I see. I'm trying to build using gcc-hardened-nopienossp right now. But I'm wondering why I couldn't find anything by typing "nopienossp" in google...

Anyway, thank you for help!
Top
newtonian
Guru
Guru
User avatar
Posts: 465
Joined: Wed Jan 19, 2005 4:11 pm
Location: Hokkaido Japan

mplayer under hardened profile

  • Quote

Post by newtonian » Tue Apr 01, 2008 10:30 am

bunder wrote:they're use flags iirc. "nopie" "nossp"

but those only look applicable to gcc, and not mplayer itself. :?
So how do you apply "nopie" and "nossp" use flags to mplayer without effecting the entire system.

I don't want to put nopie and nossp to /etc/make.conf as that will affect the entire system. I don't think adding nopie and nossp to /etc/portage/package.use will make a difference.

Should we use gcc-config switch to i686-pc-linux-gnu-3.4.6-hardenednopiessp, emerge mplayer then switch back to i686-pc-linux-gnu-3.4.6?

I'm not clear on the steps needed to get mplayer compiled under the hardended profile.

Cheers,
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Sat Apr 05, 2008 2:15 pm

If think just nopie should suffice. Anyway gcc-config -l will list the available gcc profiles. pick the hardenednopie profile: gcc-config 3 (if the 2rd profile is nopie). Then source /etc/profile. Next emerge mplayer. Then use gcc-config again to activate the hardened gcc profile and run source /etc/profile again. A small script that does this and wraps emerge might be a better solution so you don't forget to return to the hardened gcc profile afterwards.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
Post Reply

9 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic