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/41820] cc1: error: Cannot load plugin ./selfassign.so



------- Comment #3 from danglin at gcc dot gnu dot org  2009-10-30 01:33 -------
After add support for -rdynamic, I find there is an additional problem
with test.  When I first saw the problem, it was in a build with bootstrap
disabled.  However, the tests fail when a regular bootstap is done due
to the following problem:

Executing on build: gcc -g -O2
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/sel
fassign.c -I. -I/test/gnu/gcc/gcc/gcc/testsuite
-I/test/gnu/gcc/gcc/gcc/testsuit
e/../../gcc -I/test/gnu/gcc/objdir/gcc/testsuite/gcc/../../../gcc 
-I/test/gnu/g
cc/gcc/gcc/testsuite/../../include
-I/test/gnu/gcc/gcc/gcc/testsuite/../../libcp
p/include  -I/opt/gnu/gcc/gcc-4.5.0/include  -O -DIN_GCC -fPIC -shared -o
selfas
sign.so    (timeout = 300)
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/../../gcc/gcc-plugin.h:28,
                 from
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/selfassign.c
:5:
/test/gnu/gcc/gcc/gcc/testsuite/../../gcc/system.h:418:20: error: stdint.h: No
s
uch file or directory

The problem is selfassign.c is being compiled with HOSTCC, but system.h was
been generated using the stage2 bootstrap compiler.  The latter has stdint.h,
but the former doesn't.


-- 


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


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