Re: [proaudio] can't build libffado-9999-r1

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Le Tue, 01 Apr 2014 22:54:56 +0200,
Djip Perois <djip.perois@xxxxxxx> a écrit :

I fixed the patch. It should work.

But I get myself another issue later:

x86_64-pc-linux-gnu-g++ -o src/dice/focusrite/saffire_pro14.os -c -m64
"-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10
-O2 -pipe" -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS
-DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME
-DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
-I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
src/dice/focusrite/saffire_pro14.cpp x86_64-pc-linux-gnu-g++ -o
src/devicemanager.os -c -m64 "-march=amdfam10 -mcx16 -msahf -mpopcnt
-mabm --param l1-cache-size=32 --param l1-cache-line-size=64 --param
l2-cache-size=512 -mtune=amdfam10 -O2 -pipe" -fPIC -fPIC -DNDEBUG
-DENABLE_BEBOB -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU
-DENABLE_DICE -DENABLE_RME -DENABLE_GENERICAVC -I. -Isrc
-I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include
-I/usr/include/libxml2 -I/usr/include/glibmm-2.4
-I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include src/devicemanager.cpp
src/dice/focusrite/saffire_pro14.cpp:1:0: error: bad value (amdfam10
-mcx16 -msahf -mpopcnt -mabm --param l1-cache-size=32 --param
l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2
-pipe) for -march= switch /* ^ scons: ***
[src/dice/focusrite/saffire_pro14.os] Error 1

It seam to be related to scons that doesn't like my CFLAGS. I use them
to be able to cross-compile from another machine, and they are
equivalent for the target machine to march=native.

Dominique

> >>> Source unpacked
> >>> in /var/tmp/portage/media-libs/libffado-9999-r1/work Preparing
> >>> source in
> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999 ...
>  * Applying various patches (bugfixes/updates) ...
>  *   0001-honour-toolchain-env.patch
> ...                                                                                                                                
> [ ok ]
>  *   0003-remove-O2.patch
> ...                                                                                                                                           
> [ ok ]
>  * Done with patching
>  * Applying libffado-9999-no-jackd-version.patch ...
> 
>  * Failed Patch: libffado-9999-no-jackd-version.patch !
>  *  (
> /var/lib/layman/pro-audio/media-libs/libffado/files/libffado-9999-no-jackd-version.patch
> )



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/