[oe-issues] [Bug 1483] New: coreutils fails with glibc 2.5

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Oct 14 08:06:12 CEST 2006


http://bugs.openembedded.org/show_bug.cgi?id=1483

           Summary: coreutils fails with glibc 2.5
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: lenehan at twibble.org
         QAContact: tinderbox-oe at gmx.net


The definition of tee in /usr/include/bits/fcntl.h (new in glibc 2.5) conflicts
with the function tee in coreutils-5.3.0/src/tee.c

Could be fixed by either renameing the tee function in the coureutils source to
something else, or by ugrading to a newwer version of coreutils. In coreutils
6.3 the tee function has been renamed to tee_files to avoid this issue.

ccache sh4-linux-gcc -ml -m4 
-isystem/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-L/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/lib
-Wl,-rpath-link,/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/lib -Wl,-O1
-o true  true.o ../lib/libfetish.a  ../lib/libfetish.a
if ccache sh4-linux-gcc -ml -m4 -DHAVE_CONFIG_H -I.
-I/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0/src
-I..  -I..
-I/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0/src
-I/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0/lib
-I../lib -isystem/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include 
-isystem/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -MT tty.o
-MD -MP -MF ".deps/tty.Tpo" -c -o tty.o tty.c; \
then mv -f ".deps/tty.Tpo" ".deps/tty.Po"; else rm -f ".deps/tty.Tpo"; exit 1;
fi
tee.c:34: error: conflicting types for 'tee'
/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/bits/fcntl.h:233:
error: previous declaration of 'tee' was here
tee.c:34: error: conflicting types for 'tee'
/data/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/bits/fcntl.h:233:
error: previous declaration of 'tee' was here
make[3]: *** [tee.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0'
make: *** [all] Error 2
FATAL: oe_runmake failed
[OE::sh4-linux-erouter-titan]:/data/oe/build/titan-glibc-25/tmp/work/coreutils-5.3.0-r0/coreutils-5.3.0$


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Openembedded-issues mailing list