This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos 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]

[Bug 1000685] New: isoinfra limits.h breaks with gcc 4.3.3/synth


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000685

           Summary: isoinfra limits.h breaks with gcc 4.3.3/synth
           Product: eCos
           Version: 3.0beta1
          Platform: Other (please specify)
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: normal
         Component: C library
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: andrew.lunn@ascom.ch
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Building synth with template all, using my native gcc:

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-4'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-4)

The fails with:

make[1]: Entering directory `/home/lunn/eCos/work/fs/jffs2/current'
gcc -c  -I/home/lunn/eCos/work/install/include
-I/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current
-I/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src
-I/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/tests -I.
-I/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src/ -finline-limit=7000
-Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings -g -O2
-ffunction-sections -fdata-sections  -fno-exceptions -D__ECOS -nostdinc
-iwithprefix include -Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o
/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src/fs-ecos.c
In file included from /home/lunn/eCos/work/install/include/dirent.h:63,
                 from
/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src/os-ecos.h:36,
                 from
/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src/nodelist.h:25,
                 from
/home/lunn/eCos/ecos-3.0b1/packages/fs/jffs2/current/src/fs-ecos.c:16:
/home/lunn/eCos/work/install/include/limits.h:221:26: error: limits.h: No such
file or directory

Previous versions of gcc have had limits.h in /usr/lib/gcc

$ find /usr/lib/gcc/ -name limits.h                                  
/usr/lib/gcc/i486-linux-gnu/4.1/include/limits.h
/usr/lib/gcc/i486-linux-gnu/4.0.4/include/limits.h
/usr/lib/gcc/i486-linux-gnu/4.2/include/limits.h
/usr/lib/gcc/i486-linux-gnu/4.3/include-fixed/limits.h

but 4.3.3 does not. So the include_next <limits.h> at the end of
packages/isoinfra/current/include/limits.h fails.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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