This is a yasm issue (yasm is a prereq for MPIR and is included in the
tarball).

I haven't ever seen yasm not build on an Opteron before.

Can you download MPIR 1.3.1 from http://www.mpir.org/ and verify it
builds on your machine outside of the Sage context.

Is there anything else potentially unusual about this machine?

Bill.

On 22 Feb, 16:33, Ryan Hinton <[email protected]> wrote:
> I've cleaned and retried this a few times but without any luck.  I'm
> happy to provide more detailed information or try a debug session over
> IRC.  Any help is greatly appreciated.
>
> Thanks!
>
> $ uname -a
> Linux myhostname 2.6.29-2 #1 SMP Tue May 19 12:56:32 EDT 2009 x86_64
> x86_64 x86_64 GNU/Linux
>
> $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 5
> model name      : AMD Opteron(tm) Processor 244
> stepping        : 10
> cpu MHz         : 1793.035
> cache size      : 1024 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov
> pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext
> 3dnow rep_good
> bogomips        : 3586.07
> TLB size        : 1024 4K pages
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> processor       : 1
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 5
> model name      : AMD Opteron(tm) Processor 244
> stepping        : 10
> cpu MHz         : 1793.035
> cache size      : 1024 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov
> pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext
> 3dnow rep_good
> bogomips        : 3585.67
> TLB size        : 1024 4K pages
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> ========== snip from compile output ==============
> rm -f libyasm.a
> ar cru libyasm.a x86arch.o x86bc.o x86expr.o x86id.o x86cpu.o
> x86regtmod.o lc3barch.o lc3bbc.o lc3bid.o nasm-listfmt.o gas-parser.o
> gas-parse.o nasm-parser.o nasm-parse.o nasm-preproc.o nasm-pp.o
> nasmlib.o nasm-eval.o raw-preproc.o cpp-preproc.o cv-dbgfmt.o cv-
> symline.o cv-type.o dwarf2-dbgfmt.o dwarf2-line.o dwarf2-aranges.o
> dwarf2-info.o null-dbgfmt.o stabs-dbgfmt.o dbg-objfmt.o bin-objfmt.o
> elf.o elf-objfmt.o elf-x86-x86.o elf-x86-amd64.o coff-objfmt.o win64-
> except.o macho-objfmt.o rdf-objfmt.o xdf-objfmt.o assocdat.o bitvect.o
> bc-align.o bc-data.o bc-incbin.o bc-org.o bc-reserve.o bytecode.o
> errwarn.o expr.o file.o floatnum.o hamt.o insn.o intnum.o inttree.o
> linemap.o md5.o mergesort.o phash.o section.o strcasecmp.o strsep.o
> symrec.o valparam.o value.o xmalloc.o xstrdup.o module.o gas-token.o
> nasm-token.o
> ranlib libyasm.a
> if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT yasm.o -
> MD -MP -MF ".deps/yasm.Tpo" -c -o yasm.o `test -f 'frontends/yasm/
> yasm.c' || echo './'`frontends/yasm/yasm.c; \
>         then mv -f ".deps/yasm.Tpo" ".deps/yasm.Po"; else rm -f ".deps/
> yasm.Tpo"; exit 1; fi
> if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT yasm-
> options.o -MD -MP -MF ".deps/yasm-options.Tpo" -c -o yasm-options.o
> `test -f 'frontends/yasm/yasm-options.c' || echo './'`frontends/yasm/
> yasm-options.c; \
>         then mv -f ".deps/yasm-options.Tpo" ".deps/yasm-options.Po"; else rm -
> f ".deps/yasm-options.Tpo"; exit 1; fi
> gcc -std=gnu99  -g -O2   -o yasm  yasm.o yasm-options.o libyasm.a
> libyasm.a(gas-parse.o): In function `gas_parser_align':
> /bigtmp/rwh4s/sage-4.3.2/spkg/build/mpir-1.2.2.p0/src/yasm/modules/
> parsers/gas/gas-parse.c:1610: undefined reference to
> `yasm_bc_create_align'
> libyasm.a(nasm-parse.o): In function `dir_align':
> /bigtmp/rwh4s/sage-4.3.2/spkg/build/mpir-1.2.2.p0/src/yasm/modules/
> parsers/nasm/nasm-parse.c:1227: undefined reference to
> `yasm_bc_create_align'
> libyasm.a(cv-symline.o): In function `yasm_cv__generate_symline':
> /bigtmp/rwh4s/sage-4.3.2/spkg/build/mpir-1.2.2.p0/src/yasm/modules/
> dbgfmts/codeview/cv-symline.c:597: undefined reference to
> `yasm_bc_create_align'
> /bigtmp/rwh4s/sage-4.3.2/spkg/build/mpir-1.2.2.p0/src/yasm/modules/
> dbgfmts/codeview/cv-symline.c:645: undefined reference to
> `yasm_bc_create_align'
> libyasm.a(dwarf2-aranges.o): In function
> `yasm_dwarf2__generate_aranges':
> /bigtmp/rwh4s/sage-4.3.2/spkg/build/mpir-1.2.2.p0/src/yasm/modules/
> dbgfmts/dwarf2/dwarf2-aranges.c:101: undefined reference to
> `yasm_bc_create_align'
> libyasm.a(win64-except.o):/bigtmp/rwh4s/sage-4.3.2/spkg/build/
> mpir-1.2.2.p0/src/yasm/modules/objfmts/coff/win64-except.c:134: more
> undefined references to `yasm_bc_create_align' follow
> collect2: ld returned 1 exit status
>
> ============ end snip from compile output ==============

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to