misc fixups
cover misc fixups
Hi,
The last patch (gcc-cross) asks for comments if and how the package version number should be improved or look like.
Please apply the rest as-is (omit that PV-touching hunk if in doubt). thanks,
Bernhard Reutner-Fischer (3):
minimal: commentary typo fix
micro: get PREFERRED_BINUTILS from sane-toolchain
gcc-cross: fix PV and make it compile
conf/distro/micro.conf | 1 - conf/distro/minimal-uclibc.conf | 2 +- recipes/gcc/gcc-svn.inc | 8 +- recipes/gcc/gcc-svn/gcc-flags-for-build.patch | 26 -- .../gcc-uclibc-locale-ctype_touplow_t.patch | 99 +++++--- .../powerpc32-c++-pch-long-double-128.patch | 255 ++++++++++++++++++++ 6 files changed, 323 insertions(+), 68 deletions(-) create mode 100644 recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch
PATCH 1/3 minimal: commentary typo fix
--- conf/distro/minimal-uclibc.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/minimal-uclibc.conf +1 -1
@@ -42,5 +42,5 @@ DISTRO_FEATURES += "eabi" DISTRO_FEATURES += "pam" # large file support is needed for libsndfile DISTRO_FEATURES += "largefile" -# glib-2.0 nneds ipv6 and there is no knob to control it +# glib-2.0 needs ipv6 and there is no knob to control it DISTRO_FEATURES += "ipv4 ipv6"
Signature · 1 line
1.7.1
PATCH 2/3 micro: get PREFERRED_BINUTILS from sane-toolchain
In reply to Bernhard Reutner-Fischer--- conf/distro/micro.conf | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
conf/distro/micro.conf +0 -1
@@ -61,7 +61,6 @@ MACHINE_KERNEL_VERSION = "2.6" # TOOLCHAIN ############################################################################# LIBC ?= "eglibc" -PREFERRED_BINUTILS = "2.19.51" PREFERRED_VERSION_glibc ?= "2.10.1" PREFERRED_VERSION_glibc-initial ?= "2.10.1" PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
Signature · 1 line
1.7.1
PATCH 3/3 gcc-cross: fix PV and make it compile
In reply to Bernhard Reutner-Fischer- using PREFERRED_GCC_VERSION = "svn" didn't work since gcc-svn.inc messed with PV
TODO: tweak package version string?
now "...svn-r04.6+svnr162209" could be made neater, perhaps
- disable libstdcxx-pch for ppc
pch1a_output would need to be compiled with -mlong-double-128
to avoid
libstdc++-v3/include/precompiled/stdc++.h -o \
powerpc-oe-linux-uclibc/bits/stdc++.h.gch/O2g.gch
[snip]
libstdc++-v3/include/tr1_impl/cmath:153:11: error: '::acoshl' has not been declaredinstall proper guards and furthermore disable libstdcxx-pch for now
--- recipes/gcc/gcc-svn.inc | 8 +- recipes/gcc/gcc-svn/gcc-flags-for-build.patch | 26 -- .../gcc-uclibc-locale-ctype_touplow_t.patch | 99 +++++--- .../powerpc32-c++-pch-long-double-128.patch | 255 ++++++++++++++++++++ 4 files changed, 322 insertions(+), 66 deletions(-) create mode 100644 recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch
recipes/gcc/gcc-svn.inc +6 -2
@@ -1,7 +1,7 @@ DEFAULT_PREFERENCE = "-999" ARM_INSTRUCTION_SET = "arm" -SRCREV = "158653" +SRCREV = "162223" require gcc-common.inc
@@ -9,7 +9,7 @@ DEPENDS = "mpfr gmp libmpc" NATIVEDEPS = "mpfr-native gmp-native libmpc-native" BINV = "4.6.0" -PV = "4.6+svnr${SRCPV}" +PR_append = "4.6+svnr${SRCPV}" FILESPATHPKG .= ":gcc-svn"
@@ -19,6 +19,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \ file://gcc-uclibc-locale-ctype_touplow_t.patch \ file://cache-amnesia.patch \ file://gcc-flags-for-build.patch \ + file://powerpc32-c++-pch-long-double-128.patch \ " # Language Overrides
@@ -42,3 +43,6 @@ do_unpack_append() { EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " +# powerpc32 would need to build libstdc++-v3/include/cmath with -mlong-double-128 +# just disable PCH for ppc +EXTRA_OECONF_append_powerpc-linux-uclibc = " --disable-libstdcxx-pch "
recipes/gcc/gcc-svn/gcc-flags-for-build.patch +0 -26
@@ -98,24 +98,6 @@ Index: gcc-4.5+svnr155680/gcc/configure fi # Expand extra_headers to include complete path. -@@ -17037,7 +17040,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17040 "configure" -+#line 17043 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -17143,7 +17146,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17146 "configure" -+#line 17149 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H Index: gcc-4.5+svnr155680/Makefile.tpl =================================================================== --- gcc-4.5+svnr155680.orig/Makefile.tpl 2010-01-13 01:02:22.603540396 -0800
@@ -148,14 +130,6 @@ Index: gcc-4.5+svnr155680/configure CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} fi -@@ -7940,6 +7942,7 @@ done - - - -+ - # Generate default definitions for YACC, M4, LEX and other programs that run - # on the build machine. These are used if the Makefile can't locate these - # programs in objdir. Index: gcc-4.5+svnr155680/configure.ac =================================================================== --- gcc-4.5+svnr155680.orig/configure.ac 2010-01-13 01:02:22.651540130 -0800
recipes/gcc/gcc-svn/gcc-uclibc-locale-ctype_touplow_t.patch +61 -38
113 lines not on this page · raw message
recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch new file +255 -0
255 lines not on this page · raw message
Signature · 1 line
1.7.1
Re: [PATCH 3/3] gcc-cross: fix PV and make it compile
recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR_append = "4.6+svnr${SRCPV}"
Munging PR like this is fairly ugly. You might consider bashing PKGV instead.
p.
Re: [PATCH 3/3] gcc-cross: fix PV and make it compile
Quoted 6 lines · Phil Blundell
recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR_append = "4.6+svnr${SRCPV}"Munging PR like this is fairly ugly. You might consider bashing PKGV instead.
PREFERRED_GCC_VERSION = "4.6+svnr%' should also work with bitbake-1.10 and newer
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH v2 1/1 gcc-cross: fix PV and make it compile
In reply to Phil Blundell- using PREFERRED_GCC_VERSION = "svn" didn't work since gcc-svn.inc messed with PV
- disable libstdcxx-pch for ppc
pch1a_output would need to be compiled with -mlong-double-128 to avoid
libstdc++-v3/include/precompiled/stdc++.h -o \
powerpc-oe-linux-uclibc/bits/stdc++.h.gch/O2g.gch
[snip]
libstdc++-v3/include/tr1_impl/cmath:153:11: error: '::acoshl' has not been declaredinstall proper guards and furthermore disable libstdcxx-pch for now
--- recipes/gcc/gcc-svn.inc | 10 +- recipes/gcc/gcc-svn/gcc-flags-for-build.patch | 26 -- .../gcc-uclibc-locale-ctype_touplow_t.patch | 99 +++++--- .../powerpc32-c++-pch-long-double-128.patch | 255 ++++++++++++++++++++ 4 files changed, 323 insertions(+), 67 deletions(-) create mode 100644 recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch
recipes/gcc/gcc-svn.inc +7 -3
@@ -1,7 +1,7 @@ DEFAULT_PREFERENCE = "-999" ARM_INSTRUCTION_SET = "arm" -SRCREV = "158653" +SRCREV = "162223" require gcc-common.inc
@@ -9,9 +9,9 @@ DEPENDS = "mpfr gmp libmpc" NATIVEDEPS = "mpfr-native gmp-native libmpc-native" BINV = "4.6.0" -PV = "4.6+svnr${SRCPV}" +PKGV = "4.6+svnr${SRCPV}" -FILESPATHPKG .= ":gcc-svn" +FILESPATHPKG .= ":gcc-${PV}" SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
@@ -19,6 +19,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \ file://gcc-uclibc-locale-ctype_touplow_t.patch \ file://cache-amnesia.patch \ file://gcc-flags-for-build.patch \ + file://powerpc32-c++-pch-long-double-128.patch \ " # Language Overrides
@@ -42,3 +43,6 @@ do_unpack_append() { EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " +# powerpc32 would need to build libstdc++-v3/include/cmath with -mlong-double-128 +# just disable PCH for ppc +EXTRA_OECONF_append_powerpc-linux-uclibc = " --disable-libstdcxx-pch "
recipes/gcc/gcc-svn/gcc-flags-for-build.patch +0 -26
@@ -98,24 +98,6 @@ Index: gcc-4.5+svnr155680/gcc/configure fi # Expand extra_headers to include complete path. -@@ -17037,7 +17040,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17040 "configure" -+#line 17043 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -17143,7 +17146,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17146 "configure" -+#line 17149 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H Index: gcc-4.5+svnr155680/Makefile.tpl =================================================================== --- gcc-4.5+svnr155680.orig/Makefile.tpl 2010-01-13 01:02:22.603540396 -0800
@@ -148,14 +130,6 @@ Index: gcc-4.5+svnr155680/configure CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} fi -@@ -7940,6 +7942,7 @@ done - - - -+ - # Generate default definitions for YACC, M4, LEX and other programs that run - # on the build machine. These are used if the Makefile can't locate these - # programs in objdir. Index: gcc-4.5+svnr155680/configure.ac =================================================================== --- gcc-4.5+svnr155680.orig/configure.ac 2010-01-13 01:02:22.651540130 -0800
recipes/gcc/gcc-svn/gcc-uclibc-locale-ctype_touplow_t.patch +61 -38
113 lines not on this page · raw message
recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch new file +255 -0
255 lines not on this page · raw message
Signature · 1 line
1.7.1
Re: [PATCH][v2] gcc-cross: fix PV and make it compile
Quoted 16 lines · Bernhard Reutner-Fischer
index 2e24d63..40b46d6 100644
recipes/gcc/gcc-svn.inc +0
-0@@ -1,7 +1,7 @@
DEFAULT_PREFERENCE= "-999"ARM_INSTRUCTION_SET= "arm"recipes/gcc/gcc-svn.inc +1
-1-SRCREV = "158653" +SRCREV = "162223"require gcc-common.inc
recipes/gcc/gcc-svn.inc +0
-0@@ -9,9 +9,9 @@ DEPENDS = "mpfr gmp libmpc"NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
BINV = "4.6.0"
recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 14
Quoted 5 lines
recipes/gcc/gcc-svn.inc +2
-2-PV = "4.6+svnr${SRCPV}" +PKGV = "4.6+svnr${SRCPV}" -FILESPATHPKG .= ":gcc-svn" +FILESPATHPKG .= ":gcc-${PV}"
If i don't munge PR then i will not rebuild if the revision changes. With above we'll always end up with (e.g.) gcc-cross-svn-r0 which is rather inconvenient, no?
PATCH v3 1/1 gcc-cross: fix PV and make it compile
- using PREFERRED_GCC_VERSION = "svn" didn't work since gcc-svn.inc messed with PV
- disable libstdcxx-pch for ppc
pch1a_output would need to be compiled with -mlong-double-128 to avoid
libstdc++-v3/include/precompiled/stdc++.h -o \
powerpc-oe-linux-uclibc/bits/stdc++.h.gch/O2g.gch
[snip]
libstdc++-v3/include/tr1_impl/cmath:153:11: error: '::acoshl' has not been declaredinstall proper guards and furthermore disable libstdcxx-pch for now
--- recipes/gcc/gcc-svn.inc | 10 +- recipes/gcc/gcc-svn/gcc-flags-for-build.patch | 26 -- .../gcc-uclibc-locale-ctype_touplow_t.patch | 99 +++++--- .../powerpc32-c++-pch-long-double-128.patch | 255 ++++++++++++++++++++ 4 files changed, 323 insertions(+), 67 deletions(-) create mode 100644 recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch
recipes/gcc/gcc-svn.inc +7 -3
@@ -1,7 +1,7 @@ DEFAULT_PREFERENCE = "-999" ARM_INSTRUCTION_SET = "arm" -SRCREV = "158653" +SRCREV = "162560" require gcc-common.inc
@@ -9,9 +9,9 @@ DEPENDS = "mpfr gmp libmpc" NATIVEDEPS = "mpfr-native gmp-native libmpc-native" BINV = "4.6.0" -PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}" -FILESPATHPKG .= ":gcc-svn" +FILESPATHPKG .= ":gcc-${PV}" SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
@@ -19,6 +19,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \ file://gcc-uclibc-locale-ctype_touplow_t.patch \ file://cache-amnesia.patch \ file://gcc-flags-for-build.patch \ + file://powerpc32-c++-pch-long-double-128.patch \ " # Language Overrides
@@ -42,3 +43,6 @@ do_unpack_append() { EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " +# powerpc32 would need to build libstdc++-v3/include/cmath with -mlong-double-128 +# just disable PCH for ppc +EXTRA_OECONF_append_powerpc-linux-uclibc = " --disable-libstdcxx-pch "
recipes/gcc/gcc-svn/gcc-flags-for-build.patch +0 -26
@@ -98,24 +98,6 @@ Index: gcc-4.5+svnr155680/gcc/configure fi # Expand extra_headers to include complete path. -@@ -17037,7 +17040,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17040 "configure" -+#line 17043 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -17143,7 +17146,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17146 "configure" -+#line 17149 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H Index: gcc-4.5+svnr155680/Makefile.tpl =================================================================== --- gcc-4.5+svnr155680.orig/Makefile.tpl 2010-01-13 01:02:22.603540396 -0800
@@ -148,14 +130,6 @@ Index: gcc-4.5+svnr155680/configure CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} fi -@@ -7940,6 +7942,7 @@ done - - - -+ - # Generate default definitions for YACC, M4, LEX and other programs that run - # on the build machine. These are used if the Makefile can't locate these - # programs in objdir. Index: gcc-4.5+svnr155680/configure.ac =================================================================== --- gcc-4.5+svnr155680.orig/configure.ac 2010-01-13 01:02:22.651540130 -0800
recipes/gcc/gcc-svn/gcc-uclibc-locale-ctype_touplow_t.patch +61 -38
113 lines not on this page · raw message
recipes/gcc/gcc-svn/powerpc32-c++-pch-long-double-128.patch new file +255 -0
255 lines not on this page · raw message
Signature · 1 line
1.7.1
Koen Kooi
NAKRe: [PATCH][v3] gcc-cross: fix PV and make it compile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}"
NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMUGXVMkyGM64RGpERAvafAJ9g8mmWheRTk+uh1OL4k0kVSp6tNQCcDYQL taWSWi0X3fXIEbe6x/A8XFI=
=GLUK
-----END PGP SIGNATURE-----
Re: [PATCH][v3] gcc-cross: fix PV and make it compile
Quoted 9 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}"NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do
ok what should i do then?
I want to use the svn version of gcc regardless of it being called "1.2.3-svn" or "5.0.0-svn" so i put this into my local.conf:
#PREFERRED_GCC_VERSION = "4.4.4"PREFERRED_GCC_VERSION = "svn"
But that obviously doesn't work with a PV of "4.6+svnr${SRCPV}" like current git has.
I made up that "svn" intuitively, with the following reasoning:
i'm using the subversion version (_version_, hence PV)
with an arbitrary revision as Package Release that will sort correctly iff a 4.6.0 release would be made.
Now how am i supposed to pick "svn" if not by using "svn"?
thanks for clarification,
Re: [PATCH][v3] gcc-cross: fix PV and make it compile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021641.html
Quoted 25 lines · Bernhard Reutner-Fischer
Quoted 9 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}"NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do
ok what should i do then?
I want to use the svn version of gcc regardless of it being called "1.2.3-svn" or "5.0.0-svn" so i put this into my local.conf:#PREFERRED_GCC_VERSION = "4.4.4"
PREFERRED_GCC_VERSION= "svn"But that obviously doesn't work with a PV of "4.6+svnr${SRCPV}" like current git has.
I made up that "svn" intuitively, with the following reasoning:
i'm using the subversion version (_version_, hence PV)
with an arbitrary revision as Package Release that will sort correctly iff a 4.6.0 release would be made.
Quoted 3 lines
Now how am i supposed to pick "svn" if not by using "svn"?
thanks for clarification,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMUIbfMkyGM64RGpERAoPYAJ9rxqMp47aGQnPjE6R7GTIMx7CQpgCgmuIa 7su2ka+K0cQBaopKy11SRtk=
=1Jf8
-----END PGP SIGNATURE-----
Re: [PATCH][v3] gcc-cross: fix PV and make it compile
Quoted 5 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021641.html
this is rather ugly and counter intuitive for i'll have to change the PREFERRED_GCC_VERSION whenever someone decides to change that "4.6+svnr", but ok, i'll drop the PR hunk :(
thanks,
Quoted 43 lines · Bernhard Reutner-Fischer
Quoted 25 lines · Koen Kooi
Quoted 9 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}"NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do
ok what should i do then?
I want to use the svn version of gcc regardless of it being called "1.2.3-svn" or "5.0.0-svn" so i put this into my local.conf:#PREFERRED_GCC_VERSION = "4.4.4"
PREFERRED_GCC_VERSION= "svn"But that obviously doesn't work with a PV of "4.6+svnr${SRCPV}" like current git has.
I made up that "svn" intuitively, with the following reasoning:
i'm using the subversion version (_version_, hence PV)
with an arbitrary revision as Package Release that will sort correctly iff a 4.6.0 release would be made.Quoted 3 lines
Now how am i supposed to pick "svn" if not by using "svn"?
thanks for clarification,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFMUIbfMkyGM64RGpERAoPYAJ9rxqMp47aGQnPjE6R7GTIMx7CQpgCgmuIa 7su2ka+K0cQBaopKy11SRtk=
=1Jf8
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH][v3] gcc-cross: fix PV and make it compile
2010/7/28 Bernhard Reutner-Fischer <[email protected]>
Quoted 6 lines · Koen Kooi
Quoted 5 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021641.html
this is rather ugly and counter intuitive for i'll have to change the
PREFERRED_GCC_VERSIONwhenever someone decides to change that "4.6+svnr", but ok, i'll drop the PR hunk :(
thanks,
Alternate suggestion: do it the way you want to do it and store the recipe in a local overlay
You might also be able to use amend.inc.
Have fun! Frans
Quoted 50 lines
Quoted 40 lines · Bernhard Reutner-Fischer
Quoted 25 lines · Koen Kooi
Quoted 9 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1recipes/gcc/gcc-svn.inc DEPENDS = "mpfr gmp libmpc" · line 12
Quoted 2 lines · Bernhard Reutner-Fischer
recipes/gcc/gcc-svn.inc +1
-1-PV = "4.6+svnr${SRCPV}" +PR = "4.6+svnr${SRCPV}"NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do
ok what should i do then?
I want to use the svn version of gcc regardless of it being called "1.2.3-svn" or "5.0.0-svn" so i put this into my local.conf:#PREFERRED_GCC_VERSION = "4.4.4"
PREFERRED_GCC_VERSION= "svn"But that obviously doesn't work with a PV of "4.6+svnr${SRCPV}" like current git has.
I made up that "svn" intuitively, with the following reasoning:
i'm using the subversion version (_version_, hence PV)
with an arbitrary revision as Package Release that will sort correctly iff a 4.6.0 release would be made.Quoted 3 lines
Now how am i supposed to pick "svn" if not by using "svn"?
thanks for clarification,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFMUIbfMkyGM64RGpERAoPYAJ9rxqMp47aGQnPjE6R7GTIMx7CQpgCgmuIa 7su2ka+K0cQBaopKy11SRtk=
=1Jf8
-----END PGP SIGNATURE-----Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel