Opened 15 years ago
Closed 14 years ago
#21515 closed defect (fixed)
gforth will not build 64-bit
Reported by: | n.o.bouvin@… | Owned by: | arto.bendiken@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | LP64 | Cc: | jarimatti@… |
Port: | gforth |
Description
A clean install of 1.8.0 on 10.6.1. Xcode 3.2 (1610). First install (TeXLive) went flawlessly, second install (gforth) not so much.
$ sudo port install gforth Password: ---> Computing dependencies for gforth ---> Fetching gforth ---> Attempting to fetch gforth-0.7.0.tar.gz from ftp://ftp.funet.fi/pub/gnu/prep/gforth ---> Verifying checksum(s) for gforth ---> Extracting gforth ---> Configuring gforth ---> Building gforth Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gforth/work/gforth-0.7.0" && /usr/bin/make -j2 all " returned error 2 Command output: if test -z "-noll"; then \ for i in -ll-reg -noll-reg -ll -noll; do /usr/bin/make optgforth OPT=$i && cp -p gforth${i} gforth-noll && break; done; \ else \ ( cd engine && /usr/bin/make gforth-noll ) && \ cp -p engine/gforth-noll gforth-noll && \ true gforth-noll; \ true; \ /usr/bin/make checkone check-nofast ENGINE=./engine/gforth-noll; \ fi /usr/bin/gcc-4.2 -I./../arch/386 -I. -Wall -O2 -arch x86_64 -fomit-frame-pointer -fforce-addr -no-cpp-precomp -DHAVE_CONFIG_H -DDEFAULTPATH='".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0"' -I/opt/local/include -fno-gcse -fno-strict-aliasing -fno-crossjumping -fno-reorder-blocks -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves -fno-inline -DGFORTH_DEBUGGING -o engine-noll.o -c ./engine.c /usr/bin/gcc-4.2 -I./../arch/386 -I. -Wall -O2 -arch x86_64 -fomit-frame-pointer -fforce-addr -no-cpp-precomp -DHAVE_CONFIG_H -DDEFAULTPATH='".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0"' -I/opt/local/include -fno-gcse -fno-strict-aliasing -fno-crossjumping -fno-reorder-blocks -falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves -fno-inline -DGFORTH_DEBUGGING -DENGINE=2 -o engine2-noll.o -c ./engine.c /var/tmp//ccJmEF3L.s:1347:Incorrect register `%r13' used with `l' suffix /var/tmp//ccJmEF3L.s:1388:Incorrect register `%rbx' used with `l' suffix /var/tmp//ccJmEF3L.s:1444:Incorrect register `%rbx' used with `l' suffix /var/tmp//cca5l88h.s:1482:Incorrect register `%r13' used with `l' suffix /var/tmp//cca5l88h.s:1525:Incorrect register `%rbx' used with `l' suffix /var/tmp//cca5l88h.s:1587:Incorrect register `%rbx' used with `l' suffix make[3]: *** [engine-noll.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [engine2-noll.o] Error 1 ./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /opt/local/bin/gforth-0.7.0 bye" ./preforth -p ".:~+:." -e 's" mach16l.fs"' ./kernel/main.fs -e "save-cross kernl16l.fi- /opt/local/bin/gforth-0.7.0 bye" You need to configure with a gforth in $PATH to build this part You need to configure with a gforth in $PATH to build this part make[3]: *** [kernl16l.fi-] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [kernl16b.fi-] Error 1 make[2]: *** [gforth-noll] Error 2 make[1]: *** [optgforth] Error 2 make: *** [gforth] Error 2 Error: Status 1 encountered during processing.
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Keywords: | lang/gforth removed |
---|---|
Owner: | changed from macports-tickets@… to arto.bendiken@… |
Port: | gforth added |
comment:2 Changed 15 years ago by jarimatti@…
Cc: | jarimatti@… added |
---|
comment:3 Changed 15 years ago by zac@…
This bug is still valid for 10.6.2 as well. Any progress maybe?
comment:4 Changed 15 years ago by zac@…
Building gforth from source on my own requires the following:
CFLAGS="-arch i386 -m32" LDFLAGS="-arch i386 -m32" ./configure
I'm not sure what is required to change and make sure it builds/links 32bit on Snow Leopard but that's whats necessary from bare source.
comment:5 Changed 15 years ago by jarimatti@…
Using Mac OS X 10.6.2 and MacPorts 1.8.2, with MacBook (Intel Core Duo).
I accidentally found a workaround: The first port install gforth
fails, but trying to install right again works. I'm attaching a debug script of the installation. I found this out as I tried to make a port -d install gforth
after the first unsuccessful install.
Changed 15 years ago by jarimatti@…
Attachment: | debug-double-install.txt added |
---|
A typescript file of double install using 'port -d'
comment:6 Changed 14 years ago by vulcan_@…
i just saw this problem on Mac OS X 10.6.4 from the log file
rch/386/asm.fs arch/386/disasm.fs
:info:build redefined w@ redefined w@ redefined w@ data offset=E0
:info:build code offset=68
:info:build xt offset=58
:info:build ./engine/gforth-ll --die-on-signal -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs test/float.fs test/deferred.fs test/coreext.fs test/search.fs -e bye 2>&1 | tr -d '\015' | diff -c - ./test/coretest.out
:info:build ./engine/gforth-ll -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." test/gforth-nofast.fs -e bye
:info:build redefined { ./engine/gforth-ll --die-on-signal -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." test/other.fs -e bye
:info:build expect warning: ')' missing
:info:build warning: ')' missing
:info:build ./engine/gforth-ll -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." test/signals.fs -e bye
:info:build ./engine/gforth-ll -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." test/coremore.fs test/gforth.fs -e bye 2>&1 | tr -d '\015' | diff -c - ./test/gforth.out
:info:build ./engine/gforth-ll --die-on-signal -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." code.fs test/checkans.fs -e bye | tr -d '\015' | diff -c - ./test/checkans.out
:info:build redefined place with PLACE ./engine/gforth-ll --die-on-signal -p ".:/opt/local/lib/gforth/site-forth:/opt/local/share/gforth/site-forth:/opt/local/lib/gforth/0.7.0:/opt/local/share/gforth/0.7.0:." prims2x.fs -e \
:info:build "c-flag on s\" prim.i\" out-filename 2! s\" ./prim.b\" ' output-c ' output-c-combined process-file bye"| \
:info:build tr -d '\015' | grep -v '#line '|diff -c - engine/prim-s.i
:info:build shell command " cd "/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gforth/work/gforth-0.7.0" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8) invoked from within
"$procedure $targetname" :info:build Warning: the following items did not execute (for gforth): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for gforth is at: /opt/local/var/macports/logs/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gforth/main.log
then i found this bug and the note saying that immediately redoing the install would work. it did
comment:7 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | LP64 added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | gforth will not install on 10.6.1 → gforth will not build 64-bit |
Cc Me!