Skip to contentSkip to conversation

siteinfo: nios2-linux - remove wrong mutex info

PATCH Superseded Juro Bystricky 2 participants 4 messages Oct 3, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 siteinfo: nios2-linux - remove wrong mutex info

This fixes broken nios2 builds that involve db recipes.

---
 meta/site/nios2-linux | 1 -
 1 file changed, 1 deletion(-)
meta/site/nios2-linux +0 -1
index 2f4e570..5bae748 100644
@@ -33,7 +33,6 @@ db_cv_path_sh=${db_cv_path_sh=/bin/sh}
 db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
 db_cv_align_t=${db_cv_align_t='unsigned long long'}
 db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
-db_cv_mutex=${db_cv_mutex=ARM/gcc-assembly}
 db_cv_posixmutexes=${db_cv_posixmutexes=no}
 db_cv_uimutexes=${db_cv_uimutexes=no}
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Juro Bystricky

This fixes broken nios2 builds that involve db recipes.

While I understand ARM/ is wrong, why is removing the db_cv_mutex a correct fix instead of ie. s/ARM/nios2/ ? The patch description does not explain that.

Quoted 18 lines
---
 meta/site/nios2-linux | 1 -
 1 file changed, 1 deletion(-)
meta/site/nios2-linux +0 -1
index 2f4e570..5bae748 100644
@@ -33,7 +33,6 @@ db_cv_path_sh=${db_cv_path_sh=/bin/sh}
 db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
 db_cv_align_t=${db_cv_align_t='unsigned long long'}
 db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
-db_cv_mutex=${db_cv_mutex=ARM/gcc-assembly}
 db_cv_posixmutexes=${db_cv_posixmutexes=no}
 db_cv_uimutexes=${db_cv_uimutexes=no}
 
Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw
Quoted 4 lines

While I understand ARM/ is wrong, why is removing the db_cv_mutex a correct fix instead of ie. s/ARM/nios2/ ? The patch description does not explain that.

With the relatively recent commit http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/db?id=f4e8e9242c5df095b52688b083df3c9d36e7144b
some nios2 builds (uboot, core-image-minimal, etc) were broken due to db trying to
use ARM instructions in mutexes. The reason was db "configure" used the cached entry
from nios2-linux (which was incorrect). So the remedy was to remove the incorrect cached entry
and let db "configure" figure out which is the proper mutex to use.
Besides, I don't even know if nios2/gcc-assembly exists.
Also, none of other Linux info files provides this entry (db_cv_mutex).

#3 lore raw
Quoted 5 lines · Juro
Quoted 4 lines

While I understand ARM/ is wrong, why is removing the db_cv_mutex a correct fix instead of ie. s/ARM/nios2/ ? The patch description does not explain that.

Quoted 8 lines

With the relatively recent commit http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/db?id=f4e8e9242c5df095b52688b083df3c9d36e7144b
some nios2 builds (uboot, core-image-minimal, etc) were broken due to db trying to
use ARM instructions in mutexes. The reason was db "configure" used the cached entry
from nios2-linux (which was incorrect). So the remedy was to remove the incorrect cached entry
and let db "configure" figure out which is the proper mutex to use.
Besides, I don't even know if nios2/gcc-assembly exists.
Also, none of other Linux info files provides this entry (db_cv_mutex).

This should be in the commit message ...

Signature · 2 lines
Best regards,
Marek Vasut