#12549 closed update (fixed)
UPDATE: pfe-0.33.62
Reported by: | darren.bane@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | darren.bane@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | pfe |
Description
pfe-0.33.62
Description: Updating to the latest version of pfe
Attachments (1)
Change History (8)
comment:1 Changed 17 years ago by darren.bane@…
Changed 17 years ago by darren.bane@…
Attachment: | patch-Portfile added |
---|
Forgot some lib files. Hopefully last patch.
comment:2 follow-up: 7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | darren.bane@… ryandesign@… added |
---|
Thank you for your contribution.
Did this compile for you? If so, on what Mac with what OS? It did not work for me on a MacBook Pro 2.2GHz with Mac OS X 10.4.10:
$ sudo port -t install Password: ---> Fetching pfe ---> Attempting to fetch pfe-0.33.62.tar.bz2 from http://downloads.sourceforge.net/pfe ---> Verifying checksum(s) for pfe ---> Extracting pfe ---> Configuring pfe Warning: Target configure has an undeclared dependency on libtool Warning: Target configure has an undeclared dependency on ncurses ---> Building pfe with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pfe/work/pfe-0.33.62" && make all " returned error 2 Command output: then mv -f ".deps/core-sub.Tpo" ".deps/core-sub.Plo"; else rm -f ".deps/core-sub.Tpo"; exit 1; fi ../../pfe/core-sub.c: In function 'p4_strpush': ../../pfe/core-sub.c:89: error: unable to find a register to spill in class 'DIREG' ../../pfe/core-sub.c:89: error: this is the insn: (insn 23 53 24 1 (parallel [ (set (reg:SI 2 cx [65]) (unspec:SI [ (mem:BLK (reg/f:SI 67 [ s ]) [0 A8]) (reg:QI 0 ax [69]) (const_int 1 [0x1]) (reg:SI 2 cx [68]) ] 20)) (use (reg:SI 19 dirflag)) (clobber (reg/f:SI 67 [ s ])) (clobber (reg:CC 17 flags)) ]) 664 {*strlenqi_1} (insn_list:REG_DEP_TRUE 19 (insn_list:REG_DEP_TRUE 20 (insn_list:REG_DEP_TRUE 21 (insn_list:REG_DEP_TRUE 22 (nil))))) (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_UNUSED (reg/f:SI 67 [ s ]) (expr_list:REG_DEAD (reg:SI 19 dirflag) (expr_list:REG_DEAD (reg:SI 2 cx [68]) (expr_list:REG_DEAD (reg:QI 0 ax [69]) (expr_list:REG_DEAD (reg/f:SI 67 [ s ]) (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_UNUSED (reg/f:SI 67 [ s ]) (nil)))))))))) ../../pfe/core-sub.c:89: confused by earlier errors, bailing out make[3]: *** [core-sub.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
This seems to be a gcc bug.
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-dev@… to ryandesign@… |
---|
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
- "extract.suffix .tar.bz2" isn't necessary because "use_bzip2 yes" already implies that.
- pfe does depend on ncurses so we should declare that dependency.
- The compilation problem I showed above seems to be a long-standing gcc bug on Intel processors. I assume you're using a PowerPC Mac which would explain why you didn't see the problem. The workaround appears to be to add
-fno-builtin-strlen
and-fno-builtin-strcat
to the CFLAGS.
I've updated the port and done these things in r28276. Thanks again.
comment:5 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → update |
---|
comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | pfe added |
---|
Replying to ryandesign@…:
../../pfe/core-sub.c:89: error: unable to find a register to spill in class 'DIREG'
This has now become a problem again; see #29436.
Note: See
TracTickets for help on using
tickets.
I just realized that the wordsets in external modules were never installed. I've fixed this bug and will upload a new patch.