Public bug reported:

Since the change to multiarch, building upstream gcc is broken on Debian
and Ubuntu 11.10. There are a load of reports at bugs.debian.org and a
proposed patch from Matthias Klose over at gcc-patches. However, the
former are not sorted out and the latter is not applied (yet).

How to reproduce: check out gcc from svn, try to build according to 
documentation.
Result:
[...]
In file included from /usr/include/stdio.h:28:0,
                 from /home/daniel/svn/gcc-4.6/libgcc/../gcc/tsystem.h:87,
                 from /home/daniel/svn/gcc-4.6/libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or 
directory

On my system, the file is here:
  /usr/include/i386-linux-gnu/bits/predefs.h

Reports at Debian (I got lost trying to sort out which one is THE report):
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644986
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637232
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639214
  [...]

Multiarch patch from Debain Maintainer (maybe someone could push this?):
  http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01674.html

Thinking I switched from Gentoo to Ubuntu hoping to avoid this constant
struggle uphill ... ha!

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995590

Title:
  unable to build upstream gcc due to multiarch setup (bits/predefs.h:
  No such file or directory)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/995590/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to