--- On Sat, 7/11/09, Alex Viskovatoff <[email protected]> wrote:
> From: Alex Viskovatoff <[email protected]>
> Subject: Re: [osol-discuss] VLC 1.0.0 is out, but it doesn't compile under
> osol 2009.06
> To: [email protected]
> Date: Saturday, July 11, 2009, 10:40 PM
> >it is annoying that GAS in build
> 117 still can't cope with those parentheses. [...] That
> appears to be a bug, but I can't find it in
> defect.opensolaris.org.
>
> It turns out not to be a bug. I found the explanation for
> what's going on
> [url=http://www.mail-archive.com/[email protected]/msg00025.html]here[/url]:
>
> >For compatibility with other assemblers, '/' starts a
> comment on the
> >i386-elf target. So you can't use division.
>
> That link provides a one-line test program, which I've
> saved in parentheses.s:
>
> cmpl $(100/4), %eax
>
> Using the --divide option yields the desired behavior:
>
> a...@diotima:~$ gas parentheses.s
> parentheses.s: Assembler messages:
> parentheses.s:1: Error: unbalanced parenthesis in operand
> 1.
> a...@diotima:~$ gas --divide parentheses.s
> a...@diotima:~$
>
> It would be nice if someone who knows more about how to
> write make files than I do would create the appropriate
> patch. It couldn't hurt to pass it upstream, since --divide
> is ignored by the Linux as, under Fedora at any rate.
The basics of this was under Bug 9444:
http://defect.opensolaris.org/bz/show_bug.cgi?id=9444
to update binutils, GMP, and MPFR to improve GCC/GCCfss 4.4.x builds.
Bug reports were made to be more specific in those GCC-related libs and
utilities in being updated but they were consolidated to related projects in
updating to GCC 4.4.x or higher.
~ Ken Mays
_______________________________________________
opensolaris-discuss mailing list
[email protected]