Bug 78794 - lang/gprolog / un-break
Summary: lang/gprolog / un-break
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Volker Stolz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-13 17:30 UTC by Arne Woerner
Modified: 2005-03-15 14:42 UTC (History)
0 users

See Also:


Attachments
file.diff (600 bytes, patch)
2005-03-13 17:30 UTC, Arne Woerner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Woerner 2005-03-13 17:30:02 UTC
port lang/gprolog is marked as broken.

I found, that it compiles and works fine, if it is compiled without "fast call" attributes.

I do not think, that "fast calls" are so important (maybe it is/was something about SWI vectors or so) in the current default version of gcc...

Maybe we should care for "fast calls" later. Now it seems to be important to me, to un-break the port...

How-To-Repeat: > cd /usr/ports/lang/gprolog
> make clean
> make
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-03-14 08:24:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Grab.
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-03-15 10:50:27 UTC
State Changed
From-To: open->feedback

Hm, this doesn't seem to help the recent 1.2.18: 
gmake[1]: Entering directory `/usr/home/vs/gprolog/work/gprolog_1.2.18.orig/src/src/Fd2C' 
gplc -c --fast-math fd2c.pl 

system_error(cannot_catch_throw(error(domain_error('',fx),op/3))) 
warning: /home/diaz/GP/src/src/Pl2Wam/read_file.pl:106: system directive failed 
fatal error: exception raised: error(domain_error('',prolog_name),current_prolog_flag/2) 
compilation failed 
gmake[1]: *** [fd2c.o] Error 1 
gmake[1]: Leaving directory `/usr/home/vs/gprolog/work/gprolog_1.2.18.orig/src/src/Fd2C' 
gmake: *** [all] Error 1 
*** Error code 2 

Stop in /usr/home/vs/gprolog.
Comment 3 Arne Woerner 2005-03-15 11:47:36 UTC
> Hm, this doesn't seem to help the recent 1.2.18:
>
Hmm. Maybe I do something wrong...

Did you do a `make clean`?

My `make` (with MY Makefile :-)) ) run ends with:
gplc  -o gprolog top_level.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gmake[1]: Leaving directory
`/opt/ports/lang/gprolog-new/work/gprolog_1.2.18.orig/src/src/TopComp'
19.285u 7.497s 0:29.50 90.7%    2790+2519k 9+65io 20pf+0w

I see:
1. It seems to be the new version 1.2.18
2. There is no compilation or test-suite problem

-Arne



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Sports - Sign up for Fantasy Baseball. 
http://baseball.fantasysports.yahoo.com/
Comment 4 Volker Stolz freebsd_committer freebsd_triage 2005-03-15 14:31:57 UTC
Thanks, I've got it: it breaks when -march=pentium4 is in cflags,
e.g. through /etc/make.conf. I'll fix the port today. Thanks for
helping to track this down!

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Comment 5 Volker Stolz freebsd_committer freebsd_triage 2005-03-15 14:40:36 UTC
State Changed
From-To: feedback->closed

Fix committed, thanks for your submission!