[Bug 733602] Add lame encoder to cerbero

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 24 11:17:24 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733602
  GStreamer | packages | unspecified

--- Comment #14 from Lubosz Sarnecki <lubosz at gmail.com> 2014-09-24 18:17:16 UTC ---
Using yasm is pretty easy, is can be achieved changing one line in configure.in
https://github.com/lubosz/lame/commit/782172def34e19da7323795d2779295387c0e9cb

Although autoconf needs to be run, to generate configure.

The assembler files are located here:
https://github.com/lubosz/lame/tree/yasm/libmp3lame/i386

As the folder suggests, the build allows only optimizations for i386
architectures.

With this little hack, I was able to test the build with -elf64
https://github.com/lubosz/lame/commit/55c4e706e7de58678d251b73d295552925115d22

But the linker fails:
/usr/bin/ld: ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o):
relocation R_X86_64_32 against `choose_table_MMX' can not be used when making a
shared object; recompile with -fPIC

So I guess, with a patch like 782172def34e19da7323795d2779295387c0e9cb, yasm
could be possible. But it's supported for i386 only anyway.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list