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 1000723] New: Building eCos C library for synthetic targetfails with gcc-3.2


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

           Summary: Building eCos C library for synthetic target fails with
                    gcc-3.2
           Product: eCos
           Version: 3.0beta1
          Platform: linux (Linux synthetic target)
        OS/Version: HostOS: Linux
            Status: NEW
          Severity: normal
          Priority: low
         Component: C library
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: john@dallaway.org.uk
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Configuring/building eCos with:

    $ ecosconfig new linux
    $ ecosconfig tree
    $ make

Compiler output:

gcc -c  -I/var/tmp/fred/install/include
-I/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1
-I/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1/src
-I/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1/tests -I.
-I/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1/src/input/
-finline-limit=7000 -Wall -Wpointer-arith  -Wundef -Woverloaded-virtual
-Wno-write-strings -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -Wp,-MD,src/input/fgetc.tmp -o
src/input/language_c_libc_stdio_fgetc.o
/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1/src/input/fgetc.cxx
/opt/ecos/ecos-3.0b1/packages/language/c/libc/stdio/v3_0b1/src/input/fgetc.cxx:128:
`
   int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
make[1]: *** [src/input/fgetc.o.d] Error 1
make[1]: Leaving directory `/var/tmp/fred/language/c/libc/stdio/v3_0b1'
make: *** [build] Error 2

Compiler version:

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)


-- 
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]