Public bug reported:
1. apt-get install toolchain-source fakeroot
2. tpkg-make arm-linux
3. build and install binutils-arm-linux-2.15
4. TPKG_SERVER=http.us.debian.org tpkg-install-libc arm-linux
After finishing above steps, then build gcc cross-compiler for arm:
5. cd gcc-arm-linux-3.4.3 and debuild -uc -us, then I got
the following error messages:
...
../../src/gcc/gthr-posix.h: At top level:
../../src/gcc/gthr-posix.h:507: error: parse error before '*' token
../../src/gcc/gthr-posix.h:508: warning: function declaration isn't a prototype
../../src/gcc/gthr-posix.h: In function `__gthread_mutex_unlock':
../../src/gcc/gthr-posix.h:508: warning: old-style parameter declaration
../../src/gcc/gthr-posix.h:510: warning: implicit declaration of function
`pthread_mutex_unlock'
../../src/gcc/gthr-posix.h:510: error: `mutex' undeclared (first use in this
function)
make[4]: *** [libgcc/./unwind-dw2.o] Error 1
make[4]: Leaving directory `/home/joe//gcc-arm-linux-3.4.3/build/gcc'
make[3]: *** [libgcc.a] Error 2
** Affects: gcc-4.0 (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Error about building gcc cross-compiler for arm
https://launchpad.net/bugs/56551
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs