Red Hat Bugzilla – Bug 145882
gcc >= 3.3 deprecated multi-line asm breaks test for assembler
Last modified: 2007-11-30 17:10:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5)
Description of problem:
patch applies to macros for configure.in and will require that
configure be recreated (autoconf).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. tar -xvzf lzo-1.08.tar.gz
2. cd lzo-1.08
Actual Results: checking the alignment of the assembler... 0
checking whether to build assembler versions... no
Expected Results: checking the alignment of the assembler... 4
checking wheter global symbols need underscores... no
checking wheter the assembler understands .type... yes
checking wheter the assembler works... yes
checking wheter to build assembler versions... yes
the only "affected" architecture should be i386 as it is the only one
which currently has assembler code which could be used, eventhough all
architectures fail to detect the working assembler because of the
fc3 has no workaround, for all others using the old compiler (from the
compat packages) could be considered as a workaround.
Created attachment 110100 [details]
patch for configure.in to fix the assembler tests
I can confirm that this patch fixes the assembler detection on i386,
and the package then builds fine with asm enabled on x86, and still
builds fine (with asm disabled) on x86_64.
I'm taking over as maintainer from Anvil, since Anvil has other priorities.
Thanks for the patch.
1.08-7 should show up on a mirror near you soon, containing a modified version
of your patch, fixing this. The changes in 1.08-7 are:
* Mon Jul 24 2006 Hans de Goede <email@example.com> 1.08-7
- Taking over as maintainer since Anvil has other priorities
- Add a patch to fix asm detection on i386 (bug 145882, 145893). Thanks to
Carlo Marcelo Arenas Belon <firstname.lastname@example.org> for the initial patch.
- Removed unused build dependency on nasm
- Remove static lib
- Cleanup %doc a bit