Displaying 20 results from an estimated 24 matches for "bitreader_asm".
2013 Aug 03
1
nasm.h issues (sf.net bug #400)
...g x86-windows builds using mingw or mingw-w64, nasm complains:
nasm.h:83: warning: COFF section names limited to 8 characters: truncating
I think the section .note.GNU-stack stuff aren't needed for win32 and
should possibly be disabled just as they are for aout. There are also
warnings like:
bitreader_asm.nasm:593: warning: label alone on a line without a colon
might be in error
cpu_asm.nasm:118: warning: label alone on a line without a colon might
be in error
fixed_asm.nasm:309: warning: label alone on a line without a colon
might be in error
lpc_asm.nasm:1508: warning: label alone on a line withou...
2008 Jan 05
0
Assembly on Mac OS needs to be relocatable
I'm trying to port flac 1.2.1 to OS X (I'm taking over maintainership
of the Fink package), and I'm running into some problems with
bitreader_asm.nasm. After adding the following to nasm.h:
+%elifdef OBJ_FORMAT_macho
+ %define FLAC__PUBLIC_NEEDS_UNDERSCORE
+ %idefine code_section section .text
+ %idefine data_section section .data
+ %idefine bss_section section .bss
I can get it compiling, but when it tries to link the libFLAC dylib,
i...
2012 Feb 26
0
Testing needed
...of successful compiles (and even
> more importantly any failures) on OSX, Windows and elsewhere.
Hi, build dies here on OS/2 as aout is a very simple object format and
doesn't support most types of .section.
...
sh ../../../strip_non_asm_libtool_args.sh nasm -f aout -d
OBJ_FORMAT_aout -i./ bitreader_asm.nasm -DDLL_EXPORT -DPIC -o
.libs/bitreader_asm.o
nasm -f aout -d OBJ_FORMAT_aout -i./ bitreader_asm.nasm -DDLL_EXPORT
-o .libs/bitreader_asm.o
nasm.h:77: error: segment name `.note.GNU-stack progbits noalloc
noexec nowrite align=1' not recognized
...
Wrapping the section with %ifndef OBJ_FORMA...
2010 Nov 17
2
Problem building libFLAC on Windows x64
...ackager and
am trying to build libFLAC on Windows x64 using MSVC 2008 and the
following steps that I've put together:
http://mixxx.org/wiki/doku.php/build_windows_dependencies#libflac
The problems I have are the following:
If I try to build the dynamic version, I get two unresolved externals:
bitreader_asm.obj : error LNK2001: unresolved external symbol _FLAC__crc16_table
bitreader_asm.obj : error LNK2001: unresolved external symbol
_bitreader_read_from_client_
..\..\obj\release\lib\libFLAC_dynamic.dll : fatal error LNK1120: 2
unresolved externals
I can build the static version fine, but when Mixxx...
2012 Dec 03
4
[PATCH 1/5] Remove old GNU-stack sections from nasm files.
They are not needed since the section is defined in nasm.h.
---
src/libFLAC/ia32/bitreader_asm.nasm | 4 ----
src/libFLAC/ia32/cpu_asm.nasm | 4 ----
src/libFLAC/ia32/fixed_asm.nasm | 4 ----
src/libFLAC/ia32/lpc_asm.nasm | 4 ----
src/libFLAC/ia32/stream_encoder_asm.nasm | 4 ----
5 files changed, 20 deletions(-)
diff --git a/src/libFLAC/ia32/bitreader_a...
2012 Jan 01
1
Compiling 64-bit libFLAC/libFLAC++ on OS X Lion, anyone successful?
...lly, in the root folder of the FLAC bundle, even if I use the flags specifying 64-bit like so:
CC="gcc -m64" CXX="g++ -m64" ./configure
make still fails with the following output:
[...lots of output with seemingly no errors...]
/usr/bin/ranlib: archive member: .libs/libFLAC.a(bitreader_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) /usr/bin/ranlib: archive member: .libs/libFLAC.a(cpu_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libF...
2012 Feb 26
5
Testing needed
Hi all,
I think we're getting close to the first FLAC release in over 4 years.
I have tested whats currently in Git on x86, x86_64 and PowerPC Linux
and would appreciate reports of successful compiles (and even more
importantly any failures) on OSX, Windows and elsewhere.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
2014 Jun 19
5
Lets work towards a new version
...akefile.lite build system.
> 2)
> VC projects contain relative paths such as "..\..\include". Is it better to
> leave them as is or to change to something like "$(SolutionDir)include"?
That sounds like a good idea.
> 3)
> Currently there are two ia32 asm files (bitreader_asm.nasm and stream_encoder_asm.nasm)
> that are unused and not necessary to compile libFLAC: they offer no speed benefit
> and the corresponding functions were commented out (*after* the release of 1.3.0):
>
> http://git.xiph.org/?p=flac.git;a=commitdiff;h=4eab6313cd2198b5647d925bdb3...
2014 Jun 19
4
Lets work towards a new version
...commit so
> > that if needed the files can be easily retrieved from the Git history.
>
> Should these patches also remove those .nasm files from the source tree or not?
Yes.
> (currently src/libFLAC/ia32 folder contains unused lpc_asm-unrolled.nasm
> file, so why remove unused bitreader_asm.nasm and stream_encoder_asm.nasm files?)
I don't see any point in keeping files in release tarballs or in Git that
provide no value. Documentation provides value, but unused source code
does not.
All the various build system files should be cleansed of references to these
files and then we n...
2010 Nov 17
0
Problem building libFLAC on Windows x64
...bFLAC on Windows x64 using MSVC 2008 and the
> following steps that I've put together:
> http://mixxx.org/wiki/doku.php/build_windows_dependencies#libflac
>
> The problems I have are the following:
>
> If I try to build the dynamic version, I get two unresolved externals:
> bitreader_asm.obj : error LNK2001: unresolved external symbol _FLAC__crc16_table
> bitreader_asm.obj : error LNK2001: unresolved external symbol
> _bitreader_read_from_client_
> ..\..\obj\release\lib\libFLAC_dynamic.dll : fatal error LNK1120: 2
> unresolved externals
>
> I can build the static...
2013 Sep 17
2
Performance and precompute_partition_info_sums_32bit_asm_ia32_()
Previously I wrote that precompute_partition_info_sums_32bit_asm_ia32_() only
makes encoding slower. Now I managed to compile flac with GCC 4.8.1, with this
function enabled and disabled. NASM was enabled, SSE intrinsics disabled.
Then I added -msse option (so that all C code was compiled with -msse),
then -msse2 and so on.
Input file for test: 44.1kHz/16bit/stereo; best compression mode (flac
2014 Jan 14
1
PATCH for lpc_asm.nasm
...lue of lp_quantization is 15, so it's not a problem)
2) "mov cl, ..." was replaced with "mov ecx, ..." (again Agner Fog, optimizing_assembly.pdf)
summary: write to a partial register may result in false dependencies
between instructions, so it is better to avoid it.
(also bitreader_asm.nasm and stream_encoder_asm.nasm both have "mov ecx, ..."
instructions, and no "mov cl, ...").
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cl_to_ecx.patch
Type: application/octet-stream
Size: 2822 bytes
Desc: not available
Url : http://lis...
2009 Aug 05
2
FLAC 1.2.1 on OS X 10.4.11
...5.o .libs/memory.o .libs/
metadata_iterators.o .libs/metadata_object.o .libs/
stream_decoder.o .libs/stream_encoder.o .libs/
stream_encoder_framing.o .libs/window.o .libs/
ogg_decoder_aspect.o .libs/ogg_encoder_aspect.o .libs/
ogg_helper.o .libs/ogg_mapping.o .libs/libFLAC.lax/libFLAC-asm.a/
bitreader_asm.o .libs/libFLAC.lax/libFLAC-asm.a/cpu_asm.o .libs/
libFLAC.lax/libFLAC-asm.a/fixed_asm.o .libs/libFLAC.lax/libFLAC-asm.a/
lpc_asm.o .libs/libFLAC.lax/libFLAC-asm.a/stream_encoder_asm.o -lm /
usr/local/lib/libogg.dylib -install_name /usr/local/lib/libFLAC.
8.dylib -Wl,-compatibility_version...
2009 Mar 22
2
Build FLAC source on Mac OS X without Xcode?
...ortunately this failed with the error mentioned below.
Any hints on how to get FLAC build correctly on Mac OS X without Xcode?
Thanks
Jens
...ld: absolute addressing (perhaps -mdynamic-no-pic) used in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c1_loop from .libs/libFLAC.lax/libFLAC-asm.a/bitreader_asm.o not allowed in slidable imagecollect2: ld returned 1 exit statusmake[4]: *** [libFLAC.la] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2
(I have shortened the output but can post the complete one if necess...
2009 Mar 22
2
Build FLAC source on Mac OS X without Xcode?
...ortunately this failed with the error mentioned below.
Any hints on how to get FLAC build correctly on Mac OS X without Xcode?
Thanks
Jens
...ld: absolute addressing (perhaps -mdynamic-no-pic) used in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c1_loop from .libs/libFLAC.lax/libFLAC-asm.a/bitreader_asm.o not allowed in slidable imagecollect2: ld returned 1 exit statusmake[4]: *** [libFLAC.la] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2
(I have shortened the output but can post the complete one if necess...
2014 Jun 19
10
Lets work towards a new version
Hi all,
It sees that the most serious bug in the flac bug tracker:
https://sourceforge.net/p/flac/bugs/413/
has been fixed in git. This fix alone is worth a new release so its
time to work towards one.
Things I need to do for this new release:
* Deal with all current patches on the mailing list.
* Review all bugs reported against 1.3.0 on the sf.net.
* Testing and coordination of testing
2014 Jun 19
0
Lets work towards a new version
....sln? or is it better to rename FLAC.sln to FLAC-vs2005.sln?)
What do you think?
2)
VC projects contain relative paths such as "..\..\include". Is it better to
leave them as is or to change to something like "$(SolutionDir)include"?
3)
Currently there are two ia32 asm files (bitreader_asm.nasm and stream_encoder_asm.nasm)
that are unused and not necessary to compile libFLAC: they offer no speed benefit
and the corresponding functions were commented out (*after* the release of 1.3.0):
http://git.xiph.org/?p=flac.git;a=commitdiff;h=4eab6313cd2198b5647d925bdb3847590505fa21
h...
2014 Jun 19
0
Lets work towards a new version
Erik de Castro Lopo <mle+la at mega-nerd.com> ?????(?) ? ????? ?????? Thu, 19 Jun 2014 17:01:26 +0400:
>> (currently src/libFLAC/ia32 folder contains unused lpc_asm-unrolled.nasm
>> file, so why remove unused bitreader_asm.nasm and stream_encoder_asm.nasm files?)
>
> I don't see any point in keeping files in release tarballs or in Git that
> provide no value. Documentation provides value, but unused source code
> does not.
Well, lpc_asm-unrolled.nasm exists only in Git but not in any of release tarba...
2014 Jul 04
0
[PATCH 1/3] removing asm version of precompute_partition_info_sums
Erik de Castro Lopo wrote:
>> 3)
>> Currently there are two ia32 asm files (bitreader_asm.nasm and stream_encoder_asm.nasm)
>> that are unused and not necessary to compile libFLAC: they offer no speed benefit
>> and the corresponding functions were commented out (*after* the release of 1.3.0):
>>
>> http://git.xiph.org/?p=flac.git;a=commitdiff;h=4eab6313cd21...
2015 Jan 01
0
some tickets on SF that aren't relevant now
There are several tickets that can be closed IMHO:
================================================
Bug tickets:
#303: Text relocation on ia32
Seems to be fixed in http://git.xiph.org/?p=flac.git;a=commitdiff;h=12022d90dd3adc9f37dc2b16358cbecfe3c5be1c
(and then bitreader_asm.nasm was completely removed)
#356: Missing MSCOMCTL.OCX
#373: FLAC Frontend crashes on W7 x32 HP
#378: go.bat Improvements Needed
#383: FLAC frontend completely broken
#394: FLAC Tester Fails Unicode Files
#395: flac path -- front end NO function !
Related to the old 3rd party FLAC frontend...