[ lame-Bugs-1861648 ] Build of lame with "--enable-nasm" fails on Mac OS X 10.5

1 Message Forum Options Options
Embed this topic
Permalink
SourceForge.net
[ lame-Bugs-1861648 ] Build of lame with "--enable-nasm" fails on Mac OS X 10.5
Reply Threaded MoreMore options
Print post
Permalink
Bugs item #1861648, was opened at 2008-01-01 04:16
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=1861648&group_id=290

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Libraries
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Allschwil (allschwil)
Assigned to: Alexander Leidinger (aleidinger)
Summary: Build of lame with "--enable-nasm" fails on Mac OS X 10.5

Initial Comment:
On Mac OS X 10.5.1 (i386-apple-darwin9.1.0, Intel Core2Duo) the build of lame cvs 2008-01-01 fails for vector with "./configure --enable-nasm":

---
Making all in vector
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -Wall -fno-common -version-info 0:0 -no-undefined -o libmp3lame.la -rpath /usr/local/lib VbrTag.lo bitstream.lo encoder.lo fft.lo gain_analysis.lo id3tag.lo lame.lo newmdct.lo presets.lo psymodel.lo quantize.lo quantize_pvt.lo reservoir.lo set_get.lo tables.lo takehiro.lo util.lo vbrquantize.lo version.lo mpglib_interface.lo ../libmp3lame/i386/liblameasmroutines.la ../libmp3lame/vector/liblamevectorroutines.la ../mpglib/libmpgdecoder.la
rm -fr .libs/libmp3lame.lax
rm -fr .libs/libmp3lame.lax
mkdir .libs/libmp3lame.lax
rm -fr .libs/libmp3lame.lax/liblameasmroutines.a
mkdir .libs/libmp3lame.lax/liblameasmroutines.a
Extracting /Users/----/Desktop/lame_2008-01-01/libmp3lame/../libmp3lame/i386/.libs/liblameasmroutines.a
(cd .libs/libmp3lame.lax/liblameasmroutines.a && ar x /Users/----/Desktop/lame_2008-01-01/libmp3lame/../libmp3lame/i386/.libs/liblameasmroutines.a)
rm -fr .libs/libmp3lame.lax/liblamevectorroutines.a
mkdir .libs/libmp3lame.lax/liblamevectorroutines.a
Extracting /Users/----/Desktop/lame_2008-01-01/libmp3lame/../libmp3lame/vector/.libs/liblamevectorroutines.a
(cd .libs/libmp3lame.lax/liblamevectorroutines.a && ar x /Users/----/Desktop/lame_2008-01-01/libmp3lame/../libmp3lame/vector/.libs/liblamevectorroutines.a)
rm -fr .libs/libmp3lame.lax/libmpgdecoder.a
mkdir .libs/libmp3lame.lax/libmpgdecoder.a
Extracting /Users/----/Desktop/lame_2008-01-01/libmp3lame/../mpglib/.libs/libmpgdecoder.a
(cd .libs/libmp3lame.lax/libmpgdecoder.a && ar x /Users/----/Desktop/lame_2008-01-01/libmp3lame/../mpglib/.libs/libmpgdecoder.a)
gcc -dynamiclib -o .libs/libmp3lame.0.0.0.dylib .libs/VbrTag.o .libs/bitstream.o .libs/encoder.o .libs/fft.o .libs/gain_analysis.o .libs/id3tag.o .libs/lame.o .libs/newmdct.o .libs/presets.o .libs/psymodel.o .libs/quantize.o .libs/quantize_pvt.o .libs/reservoir.o .libs/set_get.o .libs/tables.o .libs/takehiro.o .libs/util.o .libs/vbrquantize.o .libs/version.o .libs/mpglib_interface.o .libs/libmp3lame.lax/liblameasmroutines.a/choose_table.o .libs/libmp3lame.lax/liblameasmroutines.a/cpu_feat.o .libs/libmp3lame.lax/liblameasmroutines.a/fft3dn.o .libs/libmp3lame.lax/liblameasmroutines.a/fftsse.o .libs/libmp3lame.lax/liblamevectorroutines.a/xmm_quantize_sub.o .libs/libmp3lame.lax/libmpgdecoder.a/common.o .libs/libmp3lame.lax/libmpgdecoder.a/dct64_i386.o .libs/libmp3lame.lax/libmpgdecoder.a/decode_i386.o .libs/libmp3lame.lax/libmpgdecoder.a/interface.o .libs/libmp3lame.lax/libmpgdecoder.a/layer1.o .libs/libmp3lame.lax/libmpgdecoder.a/layer2.o .libs/libmp3lame.lax/libmpgdecoder.a/lay
 er3.o .libs/libmp3lame.lax/libmpgdecoder.a/tabinit.o -maccumulate-outgoing-args -install_name /usr/local/lib/libmp3lame.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
ld: warning in .libs/libmp3lame.lax/liblameasmroutines.a/choose_table.o, file is not of required architecture
ld: warning in .libs/libmp3lame.lax/liblameasmroutines.a/cpu_feat.o, file is not of required architecture
ld: warning in .libs/libmp3lame.lax/liblameasmroutines.a/fft3dn.o, file is not of required architecture
ld: warning in .libs/libmp3lame.lax/liblameasmroutines.a/fftsse.o, file is not of required architecture
Undefined symbols:
  "_has_SSE_nasm", referenced from:
      _has_SSE in util.o
  "_choose_table_MMX", referenced from:
      _choose_table_MMX$non_lazy_ptr in takehiro.o
  "_fht_3DN", referenced from:
      _fht_3DN$non_lazy_ptr in fft.o
  "_has_SSE2_nasm", referenced from:
      _has_SSE2 in util.o
  "_has_3DNow_nasm", referenced from:
      _has_3DNow in util.o
  "_fht_SSE", referenced from:
      _fht_SSE$non_lazy_ptr in fft.o
  "_has_MMX_nasm", referenced from:
      _has_MMX in util.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libmp3lame.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
---

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-03-21 06:43

Message:
Logged In: NO

CVS 2008-03-21 works with --enable-asm.
Thank you!

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-03-19 00:49

Message:
Logged In: NO

Can you please test the most recent version in CVS (or the ost recetn beta
version) and report back if the problem is still there?

----------------------------------------------------------------------

Comment By: Allschwil (allschwil)
Date: 2008-01-04 03:12

Message:
Logged In: YES
user_id=394229
Originator: YES

File Added: util.lo

----------------------------------------------------------------------

Comment By: Alexander Leidinger (aleidinger)
Date: 2008-01-02 15:49

Message:
Logged In: YES
user_id=90585
Originator: NO

This is a known problem. For the moment don't build with nasm. I will
commit a fix in some moments, it will disable the use of nasm on darwin.
For a better fix I would need the contents of the file libmp3lame/util.lo
(this is generated during the build), so that I can investigate what the
real problem is.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=1861648&group_id=290

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Lame-dev mailing list
Lame-dev@...
https://lists.sourceforge.net/lists/listinfo/lame-dev