Opened 16 years ago

Closed 14 years ago

#18698 closed defect (fixed)

xaos build failure

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: link Cc: blb@…, mklein-de (Michael Klein), ryandesign (Ryan Carsten Schmidt)
Port: xaos

Description

/usr/bin/gcc-4.0 -O2 -I/opt/local/include  -I/usr/X11/include -DSFFE_USING -DSFFE_CMPLX_ASM -I/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_graphics_xaos/work/XaoS-3.4/src/include -L/opt/local/lib -o /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_graphics_xaos/work/XaoS-3.4/bin/xaos lib/libui.a lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a lib/libuix11.a lib/libsffe.a  -lpng -lz -lm  -lXext   -L/usr/X11/lib -R/usr/X11/lib -lX11  
Undefined symbols:
  "_sffecabs", referenced from:
      _sfabs in libsffe.a(sffe_cmplx_asm.o)
  "_sffeccos", referenced from:
      _sfcos in libsffe.a(sffe_cmplx_asm.o)
  "_sffeccot", referenced from:
      _sfcot in libsffe.a(sffe_cmplx_asm.o)
  "_sffecexp", referenced from:
      _sfexp in libsffe.a(sffe_cmplx_asm.o)
  "_sffecinv", referenced from:
      _sfinv in libsffe.a(sffe_cmplx_asm.o)
  "_sffeclog", referenced from:
      _sflog10 in libsffe.a(sffe_cmplx_asm.o)
      _sflogN in libsffe.a(sffe_cmplx_asm.o)
  "_sffectan", referenced from:
      _sftan in libsffe.a(sffe_cmplx_asm.o)
  "_sffecsin", referenced from:
      _sfsin in libsffe.a(sffe_cmplx_asm.o)
  "_sffeccosh", referenced from:
      _sfcosh in libsffe.a(sffe_cmplx_asm.o)
  "_sffeccoth", referenced from:
      _sfcoth in libsffe.a(sffe_cmplx_asm.o)
  "_sffeccpow", referenced from:
      _sfpow in libsffe.a(sffe_cmplx_asm.o)
  "_sffecln", referenced from:
      _sflog in libsffe.a(sffe_cmplx_asm.o)
      _sflogCN in libsffe.a(sffe_cmplx_asm.o)
      _sflogCN in libsffe.a(sffe_cmplx_asm.o)
  "_sffeclog2", referenced from:
      _sflog2 in libsffe.a(sffe_cmplx_asm.o)
  "_sffecpowc", referenced from:
      _sfpowdc in libsffe.a(sffe_cmplx_asm.o)
  "_sffecpowd", referenced from:
      _sfpowd in libsffe.a(sffe_cmplx_asm.o)
  "_sffecpowi", referenced from:
      _sfpowi in libsffe.a(sffe_cmplx_asm.o)
  "_sffectanh", referenced from:
      _sftanh in libsffe.a(sffe_cmplx_asm.o)
  "_sffecsinh", referenced from:
      _sfsinh in libsffe.a(sffe_cmplx_asm.o)
  "_sffecrtni", referenced from:
      _sfrtni in libsffe.a(sffe_cmplx_asm.o)
  "_sffecsqrt", referenced from:
      _sfsqrt in libsffe.a(sffe_cmplx_asm.o)

Attachments (1)

xaos-ppc-fix.diff (379 bytes) - added by mklein-de (Michael Klein) 15 years ago.
Portfile patch

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by blb@…

Does r47528 fix it for you, or is this a PPC issue, as it builds fine for me with and without +system_x11 (with the update, as before it ignored MacPorts' X11).

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

Closing, lack of response.

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: closedreopened

I didn't realize you were waiting on me to respond... I'll check if it's still a problem...

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Still fails on ppc (-universal) with current trunk

comment:6 Changed 15 years ago by mklein-de (Michael Klein)

This is caused by some x86 assembly in the sffe formula evaluator, configure --with-sffe=no on PPC works around this.

On removing G4 PowerBook --with-long-double=yes seems to be a bit faster, so the patch below also does that on PPC.

Changed 15 years ago by mklein-de (Michael Klein)

Attachment: xaos-ppc-fix.diff added

Portfile patch

comment:7 Changed 15 years ago by mklein-de (Michael Klein)

Cc: michael.klein@… added

Cc Me!

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Do you still see this problem? xaos 3.5 builds fine for me on PowerPC G4.

comment:9 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

3.5 builds.

Note: See TracTickets for help on using tickets.