Bitcoin Forum
June 25, 2024, 01:08:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: June 07, 2011, 02:10:57 PM
greetings fellow miners.

I downloaded bitcoin-miner-0.10 and am building it on debian squeeze.
* I added wheezy repository so as to get gcc 4.5.x and g++ 4.5.x
* I downloaded jwasm-latest and built/installed that to /usr/local/bin and extended my path
* I fixed the .asm files to hard-code the language as C

However, I am now stuck with this error at the final stage of linking

Code:
jwasm -DX64=1 -10 -elf64 -zcw -c -Fosha256sse.o sha256sse.asm
JWasm v2.05, Jun  7 2011, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

sha256sse.asm: 313 lines, 2 passes, 0 ms, 0 warnings, 0 errors
jwasm -DX64=1 -10 -elf64 -zcw -c -Fosha256x86.o sha256x86.asm
JWasm v2.05, Jun  7 2011, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

sha256x86.asm: 222 lines, 2 passes, 0 ms, 0 warnings, 0 errors

g++-4.5 -std=c++0x -funsigned-char -fno-stack-protector -Wno-invalid-offsetof -I . -I el/inc -g -O2   -o bitcoin-miner bitcoin-miner.o bitcoin-client.o bitcoin-sha256.o bitcoin-sha256-x86x64.o sha256sse.o sha256x86.o ext-text.o ext-protocols.o ext-handlers.o ext-encoding.o threader.o regex.o ext-file.o ext-fw.o datetime.o ext-base.o ext-os.o ext-app.o ext-string.o ext-blob.o ext-stream.o ext-core.o http.o stack-trace.o  -lrt -ldl -lcurl -lpthread -lpcre
sha256sse.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [bitcoin-miner] Error 1


the .o files appear to be corrupted:
Code:
$ file sha*.o
sha256sse.o: ELF 64-bit LSB relocatable, x86-64, invalid version, corrupted section header size
sha256x86.o: ELF 64-bit LSB relocatable, x86-64, invalid version, corrupted section header size

any ideas please?

thanks very much
Paul
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!