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]

egcs-20000207 cpp "internal error" when using the -EB option.


egcs-20000207 cpp "internal error" when using the -EB option.

Attached I show two example compiler command lines.  The first one
results in "<command line>: internal error: POP of file buffer in
get_directive_token" when the -EB option is used.  Note that it
doesn't seem to matter what the source file is.

Thanks,
Franklin


 ------------------------------------------------------
 Franklin Hooker           Work: (781)899-5799, ext 812
 Franklin.Hooker@mail.com  Home: (508)481-5330
 ------------------------------------------------------


egcs-20000207 cpp "internal error" when given the -EB option.

Below I show two example compiler command lines.  The first one
results in "<command line>: internal error: POP of file buffer in
get_directive_token" when the -EB option is used.  Note that it
doesn't seem to matter what the source file is.

Thanks,
Franklin

$ uname -a
SunOS light 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-2

$ touch foo.s

$ mips-lexra-elf-gcc -v -c -x assembler-with-cpp  -EB -o foo.o foo.s
Reading specs from /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/specs
gcc version 2.96 20000207 (experimental)
 /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/cpp -lang-asm -v -iprefix /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/ -$ -Dmips -DMIPSEB -DR3000 -D_mips -D_MIPSEB -D_R3000 -D__mips__ -D__MIPSEB__ -D__R3000__ -D__mips__ -D_MIPSEB -D_R3000 -D__mips -D__MIPSEB -D__R3000 -D__mips -D__ASSEMBLER__ -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY -DLANGUAGE_ASSEMBLY -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ -DMIPSEB foo.s /var/tmp/ccQxouSd.s
GNU CPP version 2.96 20000207 (experimental) (cpplib)
 [AL 1.1, MM 40] BSD Mips
<command line>: internal error: POP of file buffer in get_directive_token
<command line>: internal error: POP of file buffer in get_directive_token
<command line>: internal error: POP of file buffer in get_directive_token
<command line>: internal error: POP of file buffer in get_directive_token
ignoring nonexistent directory `/opt/lsdk/lib/gcc-lib/mips-lexra-elf/2.96/include'
ignoring nonexistent directory `/opt/lsdk/mips-lexra-elf/sys-include'
ignoring nonexistent directory `/opt/lsdk/mips-lexra-elf/include'
#include "..." search starts here:
#include <...> search starts here:
 /opt/lsdk/sparc-solaris2/lib/gcc-lib/mips-lexra-elf/2.96/include
 /opt/lsdk/sparc-solaris2/mips-lexra-elf/sys-include
 /opt/lsdk/sparc-solaris2/mips-lexra-elf/include
End of search list.
$ 

$ mips-lexra-elf-gcc -v -c -x assembler-with-cpp  -o foo.o foo.s
Reading specs from /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/specs
gcc version 2.96 20000207 (experimental)
 /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/cpp -lang-asm -v -iprefix /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/ -$ -Dmips -DMIPSEB -DR3000 -D_mips -D_MIPSEB -D_R3000 -D__mips__ -D__MIPSEB__ -D__R3000__ -D__mips__ -D_MIPSEB -D_R3000 -D__mips -D__MIPSEB -D__R3000 -D__mips -D__ASSEMBLER__ -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY -DLANGUAGE_ASSEMBLY -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int foo.s /var/tmp/ccfwVy3F.s
GNU CPP version 2.96 20000207 (experimental) (cpplib)
 [AL 1.1, MM 40] BSD Mips
ignoring nonexistent directory `/opt/lsdk/lib/gcc-lib/mips-lexra-elf/2.96/include'
ignoring nonexistent directory `/opt/lsdk/mips-lexra-elf/sys-include'
ignoring nonexistent directory `/opt/lsdk/mips-lexra-elf/include'
#include "..." search starts here:
#include <...> search starts here:
 /opt/lsdk/sparc-solaris2/lib/gcc-lib/mips-lexra-elf/2.96/include
 /opt/lsdk/sparc-solaris2/mips-lexra-elf/sys-include
 /opt/lsdk/sparc-solaris2/mips-lexra-elf/include
End of search list.
 /opt/lsdk/bin/../lib/gcc-lib/mips-lexra-elf/2.96/../../../../mips-lexra-elf/bin/as -v -o foo.o /var/tmp/ccfwVy3F.s
GNU assembler version 2.9.1 (mips-lexra-elf), using BFD version 2.9.1
$ 

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