Re: [proaudio] can't build libffado-9999-r1 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] can't build libffado-9999-r1
- From: Dominique Michel <dominique.michel@xxxxxxxxx>
- Date: Wed, 2 Apr 2014 09:39:10 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
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
> )