avifile-0.7.41,2 build failure

Erik Trulsson ertr1013 at student.uu.se
Thu Nov 4 00:01:51 PST 2004


On Thu, Nov 04, 2004 at 04:43:47PM +0900, Tod McQuillin wrote:
> On Thu, 4 Nov 2004, Michael Nottebrock wrote:
> 
> >>On Nov 4, 2004, at 12:00 AM, Tod McQuillin wrote:
> >>>Is anyone else seeing this?
> >>>
> >>> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H
> >>>-I./.. -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include
> >>>-D_GETOPT_H -Wall -Wno-unused -I../../../include -pipe
> >>>-march=pentiumpro
> >    ^^^^^^^^^^^^^^^^
> >
> >-march and inline asm don't always place nice. Tried without yet?
> 
> Just tried now -- no change.  Another 4-stable system I have also has 
> CPUTYPE=p3 in /etc/make.conf, but it builds avifile just fine.
> 
> Curiouser and curiouser.

I just managed to build avifile on 4-stable without any problems, so it
seems to be a local problem with your system.
One curious thing I noticed is that you do not seem to compile with any
-O flag.  Try adding that to CFLAGS - some files (especially ones having inline
assembler) do not compile correctly when optimizations are turned off.

I guess you have CFLAGS set to different values on the system it fails
on and the one it fails on.

-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-ports mailing list