This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]