Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 13:02:44 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "David Shao" <davshao@gmail.com>, <freebsd-current@freebsd.org>
Subject:   Re: i386 compilation errors in head/sys/dev/ixl/if_ixl.c
Message-ID:  <CFA6382F60C74901B289E3AD882198D2@multiplay.co.uk>
References:  <CABZaEK7x3AbDbds9%2BHGue1P5REnwHZKkyZJJ644QgpSpP4G1Pg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looks like this was already fixed by:
http://svnweb.freebsd.org/changeset/base/270799

    Regards
    Steve

----- Original Message ----- 
From: "David Shao" <davshao@gmail.com>
To: <freebsd-current@freebsd.org>
Sent: Friday, August 29, 2014 6:38 AM
Subject: i386 compilation errors in head/sys/dev/ixl/if_ixl.c


> Compilation errors occur in head/sys/dev/ixl/if_ixl.c on i386 for
> FreeBSD 11-current for the following:
>
> In function ixl_print_debug_info()
>
>        printf("Queue irqs = %lx\n", que->irqs);
>        printf("AdminQ irqs = %lx\n", pf->admin_irq);
> ...
>        printf("RX not ready = %lx\n", rxr->not_done);
>        printf("RX packets = %lx\n", rxr->rx_packets);
>
> all cause
> error: format specifies type 'unsigned long' but the argument has type
> 'u64' (aka 'unsigned long long') [-Werror,-Wformat]
>
> In function ixl_stat_update48(struct i40e_hw *hw, u32 hireg, u32 
> loreg,
>        bool offset_loaded, u64 *offset, u64 *stat)
>
>
> #if __FreeBSD__ >= 10 && __amd64__
>
> causes
> error:  '__amd64__' is not defined, evaluates to 0 [-Werror,-Wundef]
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CFA6382F60C74901B289E3AD882198D2>