This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment
- From: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- To: "Jason Pernito" <jpernito at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Wed, 22 Oct 2008 10:10:18 -0500
- Subject: Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8u68LKw3lSjG0/EFZyjPjU7Dqi03Hgtznwo5Ln8lZA8=; b=TK6ZV6NUgCYmc4OKOpylYyxLOMo0Jbuc8mgjG5rflJr1AlzN0zTFli3Mj0uivWeWfb iObaqyQ3KIcDtA9Uz38RmJAtXapZFCuM8BJ3ZVFN5Kf957Yay5iROd4LZCbld3v7G/27 Kv7NYl+YViANqKf204Yej0tF2MWVAzrMCmCmE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Agwg/+13jPuDjooDWZSjj08e5uxbUiAS6xplDnl/bOXh4RN8QMIl2kO2uxRsJ3/CC6 xFx+dnn24n+ykkNCAJhxVI1zHGymL3ss8VHXJk3q516VEd2c9kfxKWT4r9kLlJKIX9ik 2eNyqIMJKNEULxfJhF3dfXTW5f6KWQbWwdDe0=
- References: <56e4071a0810220156x18da0d0ftcd1a20cfbcbae60f@mail.gmail.com> <56e4071a0810220222u178e2c9an5984d6fabec893e2@mail.gmail.com>
On Wed, Oct 22, 2008 at 4:22 AM, Jason Pernito <jpernito@gmail.com> wrote:
> On Wed, Oct 22, 2008 at 4:56 PM, Jason Pernito <jpernito@gmail.com> wrote:
>> Here's the last part of the log:
>> /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/bin/powerpc-750-linux-gnu-gcc
>> connections.c -c -std=gnu99 -fgnu89-inline -O -Wall -Winline
>> -Wwrite-strings -fmerge-all-constants -g -mnew-mnemonics
>> -Wstrict-prototypes -mlong-double-128 -DHAVE_EPOLL -DHAVE_SENDFILE
>> -DHAVE_INOTIFY -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 -I../include
>> -I/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd
>> -I/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2
>> -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf
>> -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
>> -I../sysdeps/powerpc/powerpc32/fpu
>> -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
>> -I../sysdeps/unix/sysv/linux/powerpc/powerpc32
>> -I../nptl/sysdeps/unix/sysv/linux/powerpc
>> -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
>> -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
>> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
>> -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
>> -I../sysdeps/unix/mman -I../sysdeps/unix/inet
>> -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
>> -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../sysdeps/unix
>> -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32
>> -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
>> -I../nptl/sysdeps/powerpc -I../sysdeps/powerpc
>> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
>> -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
>> -I../nptl -I.. -I../libio -I. -nostdinc -isystem
>> /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/lib/gcc/powerpc-750-linux-gnu/4.3.2/include
>> -isystem /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/lib/gcc/powerpc-750-linux-gnu/4.3.2/include-fixed
>> -isystem /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/include
>> -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1
>> -o /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o
>> -MD -MP -MF /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o.dt
>> -MT /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o
>> connections.c: In function 'main_loop_poll':
>> connections.c:1827: warning: implicit declaration of function 'paccept'
>> connections.c:1831: error: lvalue required as left operand of assignment
>> make[3]: *** [/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o]
>> Error 1
>> make[3]: Leaving directory `/bonus/scratch/jpernito/btools/glibc-20081013/nscd'
>> make[2]: *** [nscd/others] Error 2
>> make[2]: Leaving directory `/bonus/scratch/jpernito/btools/glibc-20081013'
>> make[1]: *** [all] Error 2
Hi Jason,
I saw this last week as well and I looked into it this morning and
wasn't able to reproduce. It looks like Ulrich Drepper checked in
this change on Friday which seems to resolve the problem:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/connections.c.diff?cvsroot=glibc&r1=1.121&r2=1.122
Ryan S. Arnold