[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Changed in: gcc-linaro Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
This bug was fixed in the package gcc-4.5 - 4.5.3-6ubuntu1 --- gcc-4.5 (4.5.3-6ubuntu1) oneiric; urgency=low * Re-enable the build using Linaro on powerpc. LP: #768921. gcc-4.5 (4.5.3-6) unstable; urgency=low * Update to SVN 20110818 (r177845) from the gcc-4_5-branch. - Fix PR target/50001, PR fortran/42051, PR fortran/43896, PR fortran/49962. [ Aurelien Jarno ] * Add s390x support [ Marcin Juszkiewicz ] * Fixes for multilib cross builds. LP: #816852. [ Matthias Klose ] * Update the Linaro support to the 4.5-2011.08 release. - Fix build on powerpc. LP: #768921. * Fix [ARM] PR target/50090: aliases in libgcc.a with default visibility, taken from the trunk. LP: #823711. -- Matthias Klose d...@ubuntu.com Thu, 18 Aug 2011 09:24:26 +0200 ** Changed in: gcc-4.5 (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Branch linked: lp:ubuntu/gcc-4.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
here is the updated patch from comment #4; a biarch build on powerpc- linux-gnu did succeed. ** Patch added: updated patch https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/768921/+attachment/2282622/+files/gcc-ppc-include-config-linux.h.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Changed in: gcc-linaro Milestone: 4.5-2011.07 = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
Note that gcc trunk uses: #define GLIBC_DYNAMIC_LINKER /lib/ld.so.1 #define UCLIBC_DYNAMIC_LINKER /lib/ld-uClibc.so.0 #if DEFAULT_LIBC == LIBC_UCLIBC #define CHOOSE_DYNAMIC_LINKER(G, U) %{mglibc: G ;: U } #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC #define CHOOSE_DYNAMIC_LINKER(G, U) %{muclibc: U ;: G } #else #error Unsupported DEFAULT_LIBC #endif -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
Does this then fix the issue ? or do you mean something else by specifying this snippet? in the patch this will come from linux.h therefore this was redundant thats why it is removed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
I ran into this issue today. Its caused by android config patches especially r99494. Problem is that ppc config does not use config/linux.h instead it only used rs6000/linux.h or rs6000/linux64.h so it misses the new defines. Fix would be either copy those definitions from config/linux.h into config/rs6000/sysv4.h or include config/linux.h in powerpc-*-linux configs in config.gcc I have cooked up this patch which fixes the issue. ** Patch added: gcc-ppc-include-config-linux.h.patch https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/768921/+attachment/2172488/+files/gcc-ppc-include-config-linux.h.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Changed in: gcc-linaro Milestone: 4.5-2011.06-0 = 4.5-2011.07 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Changed in: gcc-linaro Milestone: 4.5-2011.05-0 = 4.5-2011.06-0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
This patch might fix it: http://gcc.gnu.org/ml/gcc-cvs/2010-12/msg00769.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
Confirmed using a cross compiler with the Ubuntu rules: cc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../../../src/gcc-linaro-4.5-2011.04-0/gcc -I../../../src/gcc-linaro-4.5-2011.04-0/gcc/. -I../../../src/gcc-linaro-4.5-2011.04-0/gcc/../include -I../../../src/gcc-linaro-4.5-2011.04-0/gcc/../libcpp/include -I../../../src/gcc-linaro-4.5-2011.04-0/gcc/../libdecnumber -I../../../src/gcc-linaro-4.5-2011.04-0/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf ../../../src/gcc-linaro-4.5-2011.04-0/gcc/c-common.c -o c-common.o In file included from ../../../src/gcc-linaro-4.5-2011.04-0/gcc/c-common.c:4646:0: ../../../src/gcc-linaro-4.5-2011.04-0/gcc/builtins.def: In function ‘c_define_builtins’: ../../../src/gcc-linaro-4.5-2011.04-0/gcc/builtins.def:178:350: error: ‘OPTION_GLIBC’ undeclared (first use in this function) ../../../src/gcc-linaro-4.5-2011.04-0/gcc/builtins.def:178:350: note: each undeclared identifier is reported only once for each function it appears in ../../../src/gcc-linaro-4.5-2011.04-0/gcc/c-common.c: In function ‘c_parse_error’: ../../../src/gcc-linaro-4.5-2011.04-0/gcc/c-common.c:8256:5: warning: format not a string literal and no format arguments ../../../src/gcc-linaro-4.5-2011.04-0/gcc/c-common.c:8260:7: warning: format not a string literal and no format arguments -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
** Changed in: gcc-linaro Status: New = Triaged ** Changed in: gcc-linaro Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 768921] Re: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc
A powerpc cross compiler builds with the above patch. I don't know if that is the best solution. ** Changed in: gcc-linaro Assignee: (unassigned) = Andrew Stubbs (ams-codesourcery) ** Changed in: gcc-linaro Milestone: None = 4.5-2011.05-0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs