Bug 33064 - libmudflap fails to build with --enable-targets=all
Summary: libmudflap fails to build with --enable-targets=all
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libmudflap (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.9.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 15:15 UTC by Adam Lackorzynski
Modified: 2013-11-10 05:51 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2009-01-01 04:51:28


Attachments
Trivial Patch (236 bytes, patch)
2008-02-25 12:37 UTC, Tim Van Holder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Lackorzynski 2007-08-14 15:15:39 UTC
With current (today) trunk, building on x86-32bit host with --enable-targets=all fails as follows. Just building 32bit (i.e. without --enable-targets=all) works.
Host system is Debian (etch). Configure options are:
gcc/configure --prefix=/usr/local/gcc/head --enable-shared --with-system-zlib --enable-targets=all --enable-__cxa_atexit

libtool: compile:  /tmp/gcc/head/b/./gcc/xgcc -B/tmp/gcc/head/b/./gcc/ -B/usr/local/gcc/head/i686-pc-linux-gnu/bin/ -B/usr/local/gcc/head/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc/head/i686-pc-linux-gnu/include -isystem /usr/local/gcc/head/i686-pc-linux-gnu/sys-include -m64 -DHAVE_CONFIG_H -I. -I../../../../gcc/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -m64 -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c ../../../../gcc/libmudflap/mf-runtime.c  -fPIC -DPIC -o .libs/mf-runtime.o
../../../../gcc/libmudflap/mf-runtime.c:172: error: conflicting types for '__mf_lc_mask'
../../../../gcc/libmudflap/mf-runtime.h:51: error: previous declaration of '__mf_lc_mask' was here
Comment 1 Tim Van Holder 2008-02-25 12:37:47 UTC
Created attachment 15223 [details]
Trivial Patch

Encountered this same problem today on the 4.3 branch (rev 132620).

This is a trivial patch that allows the build to continue (by using __mf_uintptr_t instead of uintptr_t in the .c file, to match the header).
Comment 2 Uroš Bizjak 2008-03-03 13:20:36 UTC
(In reply to comment #1)
> Created an attachment (id=15223) [edit]
> Trivial Patch

Please post this patch together with appropriate ChangeLog entry to gcc-patches@ mailing list for a review.
Comment 3 Andrew Pinski 2009-01-01 04:51:28 UTC
Confirmed.
Comment 4 Andrew Pinski 2013-11-10 05:51:25 UTC
fmudflap support has been removed.