Hello,
while porting FICL, I noticed an aliasing bug which manifests (at least)
with gcc 4.4.2 and 4.4.3 when strict-aliasing is enabled. The root cause is
#define LVALUEtoCELL(v) (*(CELL *)v)
in sys/boot/ficl/ficl.h. CELL is a union:
typedef union _cell
{
FICL_INT i;
FICL_UNS u;
[...]
We've seen LOR #185 on http://sources.zabbadoz.net/freebsd/lor.html
locally on and off since October 2007. This patch has been compiled but
I don't have a reliable way to repro the LOR so it's not been properly
tested.
If someone who has seen this LOR can confirm the patch fixes it, and
could
[62]# uname -a
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203927: Mon Feb 15 19:12:36 CET
2010
ti...@cicely14.cicely.de:/data/builder/arm-current/head/sys/arm/compile/FBOX
arm
[64]# /etc/rc.d/named start
Starting named.
/etc/rc.d/named: WARNING: failed to start named
1.000u 0.000s
=== Building for mpd-4.4.1_1
=== src (all)
Warning: Object directory not changed from original
/usr/obj/usr/ports/net/mpd4/work/mpd-4.4.1/src
cc -O -pipe -mcpu=arm9 -DNO_IDEA -mcpu=arm9
-DPATH_CONF_DIR=\/usr/local/etc/mpd4\ -DSYSLOG_FACILITY=LOG_DAEMON
-DMPD_VERSION='4.4.1
On 16.02.2010 4:51, Bernd Walter wrote:
I don't know how difficult it is to fix, but for many of us mpd is
important to have network connection.
You can try this patch. I don't know why Alexander did't commit it.
--
WBR, Andrey V. Elsukov
--- src/auth.c 2009-12-22 12:02:46.0 +0300
Andrey V. Elsukov wrote:
On 16.02.2010 4:51, Bernd Walter wrote:
I don't know how difficult it is to fix, but for many of us mpd is
important to have network connection.
You can try this patch. I don't know why Alexander did't commit it.
I've committed it to mpd5 CVS repo. It will be
On 2/15/2010 10:33 PM, Alexander Motin wrote:
Andrey V. Elsukov wrote:
On 16.02.2010 4:51, Bernd Walter wrote:
I don't know how difficult it is to fix, but for many of us mpd is
important to have network connection.
You can try this patch. I don't know why Alexander did't commit it.
I've