This is the mail archive of the gcc@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]

RE: GCC 3.4.0 build failed on interix3


Tristan Filmore wrote:

> In file included from ../../gcc/genmodes.c:23:
> ../../gcc/system.h:339: error: conflicting types for `strsignal'
> /usr/include/string.h:100: error: previous declaration of `strsignal'

Yes, I saw that when I tried to build 3.4 CVS some time ago; if you comment
out the declaration in system.h then it should work around it. However,
there's more.

Another problem I ran into was that -mms-bitfields was broken; it tripped
test_real_width in real.h. In stor_layout.c, rli->prev_field was set from
rli->offset and rli->bitpos before they're normalised, but later rli->bitpos
is computed from part of rli->prev_field without also copying over
rli->offset; since one pair was normalised and the other wasn't they got out
of sync. A third problem was that there was no defintion of
ASM_DECLARE_FUNCTION_NAME in i386-interix3.h.

However, if you dig around the SFU install you'll find Microsoft's own
patches. (They're certainly in the 3.5 install, I don't remember about 3.0.)
They're against the original 3.3 release, and it took a bit of effort to
apply them all to 3.4 but then 3.4 built OK. You should probably look for
these.

There's a README with the patches that says they are all be assigned to the
FSF but they haven't yet found their way in to the FSF GCC tree; hopefully
we can convince the right people to get these into 3.5 at least. I haven't
had time to help myself :-/

Rup.


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