On Ubuntu 11.10 I'm getting the same error when building gcc 4.7.0:
/usr/local/src/gcc/gcc-4.7.0-objdir/./gcc/xgcc
-B/usr/local/src/gcc/gcc-4.7.0-objdir/./gcc/
-B/usr/local/compilers/gcc-4.7.0/x86_64-unknown-linux-gnu/bin/
-B/usr/local/compilers/gcc-4.7.0/x86_64-unknown-linux-gnu/lib/ -isystem
** Tags added: multiarch
** Tags removed: running-unity unity-2d
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738098
Title:
ld: cannot find crti.o: No such file or directory
--
ubuntu-bugs mailin
This bug was fixed in the package binutils - 2.21.0.20110322-1ubuntu2
---
binutils (2.21.0.20110322-1ubuntu2) natty; urgency=low
* Add multiarch directories to linker search path. Closes: #369064.
LP: #738098.
-- Matthias KloseSat, 26 Mar 2011 11:27:54 +0100
** Changed in:
** Changed in: binutils (Ubuntu)
Status: New => In Progress
** Changed in: binutils (Ubuntu)
Assignee: Steve Langasek (vorlon) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
I believe that packages built (even in launchpad) with the free pascal
compiler (fpc) also fail on this issue. See for instance my ppa builds
of winff [1]:
Linking winff
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot f
On Wed, Mar 23, 2011 at 02:12:21PM -, Duncan Sands wrote:
> I am building GCC from upstream (I do some work on GCC). Are you planning
> to push a patch upstream? Another annoyance is that I have several custom
> versions of GCC I obtained from a commercial company. These all broke
> too, and
I am building GCC from upstream (I do some work on GCC). Are you planning to
push a patch upstream?
Another annoyance is that I have several custom versions of GCC I obtained from
a commercial company.
These all broke too, and I can't rebuild them myself. However Iain's
LD_LIBRARY_PATH workaro
Yes, using upstream sources (I am developing the D frontend language to
work with GCC-4.6). I take it that there are no multiarch patches
available yet for 4.6? Debian experimental maybe?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
How are you building gcc? It sounds like you're trying to build a gcc
from upstream sources, not from one of the Ubuntu packages, correct?
The default binutils path does not include the multiarch directories
because this change was rejected by binutils upstream and the Debian
maintainer when it w
** Changed in: binutils (Ubuntu)
Assignee: (unassigned) => Steve Langasek (vorlon)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738098
Title:
ld: cannot find crti.o: No such file or directory
May have to move this over to GCC, as it actually looks to be the role
of the compiler to find crti.o, crtn.o, etc. Not the linker...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738098
Title:
ld:
*WORKAROUND*
LIBRARY_PATH=/usr/lib/i386-linux-gnu:$LIBRARY_PATH
export LIBRARY_PATH
That in your .bashrc file (or ran from a console) is enough for GCC to find the
new location of library/ctor/dtor files.
Regards
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Same problem here. For example, it is no longer possible to build gcc from
source: once the build gets to the point where
the new gcc needs to build a program linking fails with
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738098
Title:
ld: cannot find crti.o: No such file or directory
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailm
14 matches
Mail list logo