Skip to contentSkip to conversation

siteinfo: nios2-linux - remove wrong mutex info

PATCH In review Juro Bystricky 5 participants 6 messages Oct 3, 2017 – Oct 4, 2017

lore
Share & tools
lore
#0 lore raw

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

With the commit 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.

---
 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

With the commit f4e8e9242c5df095b52688b083df3c9d36e7144b

That revision doesn't exist in oe-core...

Quoted 31 lines

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.

---
 meta/site/nios2-linux | 1 -
 1 file changed, 1 deletion(-)
meta/site/nios2-linux +0 -2
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}
 
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 4 lines · Andre McCurdy
Quoted 1 line · Juro Bystricky

With the commit f4e8e9242c5df095b52688b083df3c9d36e7144b

That revision doesn't exist in oe-core...

Also, isn't there some sort of standardized format for listing git commit IDs in commit messages ? I recall Linux kernel agreed on something like that.

Quoted 31 lines
Quoted 31 lines

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.

---
 meta/site/nios2-linux | 1 -
 1 file changed, 1 deletion(-)
meta/site/nios2-linux +0 -2
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}
 
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
Best regards,
Marek Vasut
#3 lore raw
Quoted 6 lines · Marek Vasut
Quoted 4 lines · Andre McCurdy
Quoted 1 line · Juro Bystricky

With the commit f4e8e9242c5df095b52688b083df3c9d36e7144b

That revision doesn't exist in oe-core...

it exists in poky, sometimes users confuse Openembedded repositories with yocto repositories, its unfortunate but not uncommon

Quoted 45 lines

Also, isn't there some sort of standardized format for listing git commit IDs in commit messages ? I recall Linux kernel agreed on something like that.

Quoted 23 lines
Quoted 23 lines

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.

---
 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}
 
Quoted 8 lines
Quoted 8 lines

--
2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Best regards,
Marek Vasut
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw
Quoted 11 lines
Quoted 2 lines · Andre McCurdy
Quoted 1 line

On Tue, Oct 3, 2017 at 2:54 PM, Juro Bystricky

Quoted 4 lines · <[email protected]> wrote:
Quoted 3 lines
Quoted 1 line

With the commit f4e8e9242c5df095b52688b083df3c9d36e7144b

That revision doesn't exist in oe-core...

it exists in poky, sometimes users confuse Openembedded repositories with yocto repositories, its unfortunate but not uncommon

The commit I referenced is here:
http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/db?id=f4e8e9242c5df095b52688b083df3c9d36e7144b

Just to clarify: that commit did not break the build, it exposed the error that broke the build for nios2.

#5 lore raw
Quoted 12 lines · Juro
Quoted 11 lines
Quoted 2 lines · Andre McCurdy
Quoted 1 line

On Tue, Oct 3, 2017 at 2:54 PM, Juro Bystricky

Quoted 4 lines · <[email protected]> wrote:
Quoted 3 lines
Quoted 1 line

With the commit f4e8e9242c5df095b52688b083df3c9d36e7144b

That revision doesn't exist in oe-core...

it exists in poky, sometimes users confuse Openembedded repositories with yocto repositories, its unfortunate but not uncommon

Quoted 6 lines

The commit I referenced is here:
http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/
recipes-support/db?id=f4e8e9242c5df095b52688b083df3c9d36e7144b

Just to clarify: that commit did not break the build, it exposed the error that broke the build for nios2.

The canonical repository is oe-core so we try to use oe-core references. I'll fix the commit in my queue. :)

Ross