Re: [oe-core][PATCH 1/3] squashfs-tools: gcc-10

2020-05-19 Thread Adrian Bunk
On Tue, May 19, 2020 at 02:09:27PM -0700, Joe Slater wrote:
> Add -fcommon to CFLAGS to avoid multiple definition errors for uninitialized 
> variables.
>...

The upstream fix is already backported in master.

cu
Adrian
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138489): 
https://lists.openembedded.org/g/openembedded-core/message/138489
Mute This Topic: https://lists.openembedded.org/mt/74335778/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe-core][PATCH 1/3] squashfs-tools: gcc-10

2020-05-19 Thread Jacob Kroon

Hi Joe,

On 5/19/20 11:09 PM, Joe Slater wrote:

Add -fcommon to CFLAGS to avoid multiple definition errors for uninitialized 
variables.

Signed-off-by: Joe Slater 
---
  meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 2 ++
  1 file changed, 2 insertions(+)



[cut]

I hope this is already fixed in master by:

https://git.openembedded.org/openembedded-core/commit/?id=bae1603a27fadcfa7257801167f28db3ff02dc97

?

/Jacob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138488): 
https://lists.openembedded.org/g/openembedded-core/message/138488
Mute This Topic: https://lists.openembedded.org/mt/74335778/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe-core][PATCH 1/3] squashfs-tools: gcc-10

2020-05-19 Thread Joe Slater
Add -fcommon to CFLAGS to avoid multiple definition errors for uninitialized 
variables.

Signed-off-by: Joe Slater 
---
 meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb 
b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
index 9bcf026ce2..d3f42a84fe 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"git://github.com/plougher/squashfs-tools.git;protocol=https \
 
 S = "${WORKDIR}/git/squashfs-tools"
 
+CFLAGS_append = " -fcommon"
+
 EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
 
 PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr reproducible"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138485): 
https://lists.openembedded.org/g/openembedded-core/message/138485
Mute This Topic: https://lists.openembedded.org/mt/74335778/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-