package/libsidplay2: broken with gcc6
PATCH 1/1 package/libsidplay2: broken with gcc6
Also propagate reverse dependency to kodi-audiodecoder-sidplay.
Fixes
http://autobuild.buildroot.net/results/4f5/4f57a7a37da0ce6d14a368272d982b4874a54927/
--- package/kodi-audiodecoder-sidplay/Config.in | 1 + package/libsidplay2/Config.in | 2 ++ 2 files changed, 3 insertions(+)
package/kodi-audiodecoder-sidplay/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_KODI_AUDIODECODER_SIDPLAY bool "kodi-audiodecoder-sidplay" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 # libsidplay2 select BR2_PACKAGE_KODI_PLATFORM select BR2_PACKAGE_LIBSIDPLAY2 help
package/libsidplay2/Config.in +2 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBSIDPLAY2 bool "libsidplay2" depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 help Sidplay 2 is the second in the Sidplay series originally developed by Michael Schwendt. This version is written by Simon White and is cycle
@@ -10,4 +11,5 @@ config BR2_PACKAGE_LIBSIDPLAY2 http://sourceforge.net/projects/sidplay2 comment "libsidplay2 needs a toolchain w/ C++" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 depends on !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.8.1
PATCH 1/1 package/libsidplay2: broken with gcc6
Bernd, All,
On 2016-08-09 21:44 +0200, Bernd Kuhls spake thusly:
Quoted 16 lines
Also propagate reverse dependency to kodi-audiodecoder-sidplay.
Fixes
http://autobuild.buildroot.net/results/4f5/4f57a7a37da0ce6d14a368272d982b4874a54927/Signed-off-by Bernd Kuhls <[email protected]>--- package/kodi-audiodecoder-sidplay/Config.in | 1 + package/libsidplay2/Config.in | 2 ++ 2 files changed, 3 insertions(+)package/kodi-audiodecoder-sidplay/Config.in +0
-0
package/kodi-audiodecoder-sidplay/Config.in line 6
Quoted 6 lines
package/kodi-audiodecoder-sidplay/Config.in +1
-0@@ -1,5 +1,6 @@ config BR2_PACKAGE_KODI_AUDIODECODER_SIDPLAY bool "kodi-audiodecoder-sidplay" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 # libsidplay2 select BR2_PACKAGE_KODI_PLATFORM select BR2_PACKAGE_LIBSIDPLAY2 help
You need to add a comment there:
comment "kodi-audiodecoder-sidplay needs a toolchain w/ gcc < 6"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
Quoted 13 lines
package/libsidplay2/Config.in +1
-0@@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBSIDPLAY2 bool "libsidplay2" depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 help Sidplay 2 is the second in the Sidplay series originally developed by Michael Schwendt. This version is written by Simon White and is cycle
package/libsidplay2/Config.in config BR2_PACKAGE_LIBSIDPLAY2 · line 15
Quoted 5 lines
package/libsidplay2/Config.in +1
-0@@ -10,4 +11,5 @@ config BR2_PACKAGE_LIBSIDPLAY2 http://sourceforge.net/projects/sidplay2 comment "libsidplay2 needs a toolchain w/ C++" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 depends on !BR2_INSTALL_LIBSTDCPP
I guess this dependency should have been:
comment "libsidplay2 needs a toolchain w/ gcc <6, C++"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 \
|| !BR2_INSTALL_LIBSTDCPPBecasue this is not an architecture feature: the user can actually change something (i.i. either the gcc version or choose another toolchain).
Regards,
Yann E. MORIN.
Quoted 7 lines
Signature · 6 lines
2.8.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/libsidplay2: broken with gcc6
In reply to Bernd KuhlsQuoted 7 lines · Bernd Kuhls
Also propagate reverse dependency to kodi-audiodecoder-sidplay.
Fixes
http://autobuild.buildroot.net/results/4f5/4f57a7a37da0ce6d14a368272d982b4874a54927/
This could also be fixed in code instead to statically typecast to int8_t.
Quoted 39 lines
Signed-off-by Bernd Kuhls <[email protected]>---
package/kodi-audiodecoder-sidplay/Config.in | 1 +
package/libsidplay2/Config.in | 2 ++2 files changed, 3 insertions(+)package/kodi-audiodecoder-sidplay/Config.in +0
-0@@ -1,5 +1,6 @@config
BR2_PACKAGE_KODI_AUDIODECODER_SIDPLAY
bool "kodi-audiodecoder-sidplay"package/kodi-audiodecoder-sidplay/Config.in +1
-0+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6 # libsidplay2select
BR2_PACKAGE_KODI_PLATFORM
selectBR2_PACKAGE_LIBSIDPLAY2
helppackage/libsidplay2/Config.in +0
-0@@ -1,6 +1,7 @@config
BR2_PACKAGE_LIBSIDPLAY2
bool "libsidplay2"
depends onBR2_INSTALL_LIBSTDCPPpackage/libsidplay2/Config.in +1
-0+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6help
Sidplay 2 is the second in the Sidplay series originally developed by Michael Schwendt. This version is written by Simon White and is cyclepackage/libsidplay2/Config.in +0
-0@@ -10,4 +11,5 @@ config BR2_PACKAGE_LIBSIDPLAY2 http://sourceforge.net/projects/sidplay2comment "libsidplay2 needs a toolchain w/ C++"
package/libsidplay2/Config.in +1
-0+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6depends on !BR2_INSTALL_LIBSTDCPP
--
2.8.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160809/d0ab9b67/attachment.asc>
PATCH 1/1 package/libsidplay2: broken with gcc6
Hello,
Quoted 8 lines · Khem Raj
Quoted 6 lines · Bernd Kuhls
Also propagate reverse dependency to kodi-audiodecoder-sidplay.
Fixes
http://autobuild.buildroot.net/results/4f5/4f57a7a37da0ce6d14a368272d982b4874a54927/This could also be fixed in code instead to statically typecast to
int8_t.
I would also very much prefer to see the code being fixed, rather than this weird !AT_LEAST_GCC_6 dependency being added.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 package/libsidplay2: broken with gcc6
Am Tue, 09 Aug 2016 22:04:19 +0200 schrieb Thomas Petazzoni:
Quoted 8 lines
Hello,
Quoted 1 line · Khem Raj
This could also be fixed in code instead to statically typecast to
int8_t.I would also very much prefer to see the code being fixed, rather than this weird !AT_LEAST_GCC_6 dependency being added.
Hi Thomas,
ok, but I am unable to provide such a patch because I do not know what to code to fix the C stuff ;)
Regards, Bernd
PATCH 1/1 package/libsidplay2: broken with gcc6
Quoted 11 lines · Bernd Kuhls
Am Tue, 09 Aug 2016 22:04:19 +0200 schrieb Thomas Petazzoni:
Quoted 6 lines
Hello,
Quoted 1 line · Khem Raj
This could also be fixed in code instead to statically typecast to
int8_t.
Quoted 8 lines
Quoted 2 lines
I would also very much prefer to see the code being fixed, rather than this weird !AT_LEAST_GCC_6 dependency being added.
Hi Thomas,
ok, but I am unable to provide such a patch because I do not know what to code to fix the C stuff ;)
perhaps changing https://sourceforge.net/p/sidplay2/code/HEAD/tree/trunk/libsidplay/src/xsid/xsid.cpp#l118
to be a char array instead of uint8_t would help ?
Quoted 6 lines
Regards, Bernd
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160809/d99fee2f/attachment.asc>