This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 other/14554] New: libffi: ASM error


When trying to build libffi from CVS-HEAD for sh-rtemself (configure.in
precedingly changed to support it) with gcc-3.3.3/binutils-2.14,
this syntax errors occurs:

/bin/sh ./libtool --mode=compile sh-rtems4.7-gcc   -I.
-I/usr/local/src/packages/gcc/subversions/gcc/libffi/include -Iinclude
-I/usr/local/src/packages/gcc/subversions/gcc/libffi/src -g -O2 -c -o
src/sh/sysv.lo `test -f 'src/sh/sysv.S' || echo
'/usr/local/src/packages/gcc/subversions/gcc/libffi/'`src/sh/sysv.S
sh-rtems4.7-gcc -I. -I/usr/local/src/packages/gcc/subversions/gcc/libffi/include
-Iinclude -I/usr/local/src/packages/gcc/subversions/gcc/libffi/src -g -O2 -c
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S -o src/sh/sysv.o
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S: Assembler
messages:
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:53: Warning:
.type pseudo-op used outside of .def/.endef ignored.
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:53: Warning:
rest of line ignored; first ignored character is `f'
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:495: Warning:
.size pseudo-op used outside of .def/.endef ignored.
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:495: Warning:
rest of line ignored; first ignored character is `f'
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:499: Warning:
.type pseudo-op used outside of .def/.endef ignored.
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:499: Warning:
rest of line ignored; first ignored character is `f'
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:678: Warning:
.size pseudo-op used outside of .def/.endef ignored.
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:678: Warning:
rest of line ignored; first ignored character is `f'
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:680: Warning:
rest of line ignored; first ignored character is `"'
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:682: Error:
attempt to store value in absolute section
/usr/local/src/packages/gcc/subversions/gcc/libffi/src/sh/sysv.S:685: Error:
attempt to store value in absolute section
...

I am not sure if I am doing something stupid and this is an incompatiblity
between gcc-3.3.3 and CVS-trunk or a bug in the source code (For testing, I am
trying to build libffi standalone).

.../gcc/libffi/configure CFLAGS="-g -O2" --host=sh-rtems4.7

-- 
           Summary: libffi: ASM error
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: corsepiu at faw dot uni-ulm dot de
                CC: gcc-bugs at gcc dot gnu dot org,joel at oarcorp dot com
GCC target triplet: sh-rtemself


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14554


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