Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 31, 2007 Building from svn on amd64 | ||||
---|---|---|---|---|
| ||||
Im trying to build the current svn version of gdc on an amd64 machine on top of the gcc-4.1.2-core sources. The setup-script complained that it cant patch some tree-thingies but I assumed that this would only affect treelang and carried on. configure runs fine, but make stops with error messages like this: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: File not found (translated from german error message) One of the failed gcc calls is here: /home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I32 -I../.././gcc -I../.././gcc/32 -I../.././gcc/../include -I../.././gcc/../libcpp/include -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer -fno-asynchronous-unwind-tables -fPIC \ -c ../.././gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \ -o 32/crtbeginS.o Im a little surprised to see a "-m32" in there, any hints? Henning -- GPG Public Key: http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851 Fingerprint: 344F 4072 F038 BB9E B35D E6AB DDD6 D36D 4191 1851 |
July 31, 2007 Re: Building from svn on amd64 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Hasemann | --disable-multilib will do it On 7/31/07, Henning Hasemann <hhasemann@web.de> wrote: > > Im trying to build the current svn version of gdc on an amd64 machine on top of the gcc-4.1.2-core sources. The setup-script complained that it cant patch some tree-thingies but I assumed that this would only affect treelang and carried on. > > configure runs fine, but make stops with error messages like this: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: File not found (translated from german error message) > > One of the failed gcc calls is here: > /home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/xgcc > -B/home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/ > -B/usr/local/x86_64-unknown-linux-gnu/bin/ > -B/usr/local/x86_64-unknown-linux-gnu/lib/ > -isystem /usr/local/x86_64-unknown-linux-gnu/include > -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g > -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. > -I32 -I../.././gcc -I../.././gcc/32 -I../.././gcc/../include > -I../.././gcc/../libcpp/include -m32 -g0 -finhibit-size-directive > -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss > -fno-unit-at-a-time -fno-omit-frame-pointer > -fno-asynchronous-unwind-tables -fPIC \ -c ../.././gcc/crtstuff.c > -DCRT_BEGIN -DCRTSTUFFS_O \ -o 32/crtbeginS.o > > Im a little surprised to see a "-m32" in there, any hints? > > Henning > > -- > GPG Public Key: http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851 Fingerprint: 344F 4072 F038 BB9E B35D E6AB DDD6 D36D 4191 1851 > -- Anders |
August 01, 2007 Re: Building from svn on amd64 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders Bergh | "Anders Bergh" <anders1@gmail.com> wrote: > --disable-multilib will do it Thanks works fine, but I had to unpack a fresh gcc directory since simply runnig ./configure again with other parameters doesnt seem to work, just in case anybody runs into the same problem. Henning -- GPG Public Key: http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851 Fingerprint: 344F 4072 F038 BB9E B35D E6AB DDD6 D36D 4191 1851 |
August 01, 2007 Re: Building from svn on amd64 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Hasemann | Henning Hasemann wrote:
> "Anders Bergh" <anders1@gmail.com> wrote:
>> --disable-multilib will do it
>
> Thanks works fine, but I had to unpack a fresh gcc directory since
> simply runnig ./configure again with other parameters doesnt seem to
> work, just in case anybody runs into the same problem.
I've already run into the same problem, but I'd prefer to keep multilib support. Installing the binary from the site worked fine, but if anyone knows how to fix this without disabling multilib I'd like to hear about it...
|
Copyright © 1999-2021 by the D Language Foundation