Help me to develop a FreeBSD patch for gcc-4.2.1

Peter Jeremy peterjeremy at
Wed Oct 8 09:09:30 UTC 2008

On 2008-Oct-07 02:06:03 -0700, Unga <unga888 at> wrote:
>Now I unpacked the gcc-4.2.1.tar.bz2 into some other directory and applied this FreeBSD-gcc.patch. Ran configure and compiled. It develop following error:
>../../gcc-4.2.1/gcc/c-format.c:1780: error: 'flag_format_extensions' undeclared (first use in this function)
>../../gcc-4.2.1/gcc/c-format.c:1780: error: (Each undeclared identifier is reported only once
>../../gcc-4.2.1/gcc/c-format.c:1780: error: for each function it appears in.)
>gmake[2]: *** [c-format.o] Error 1

Note that the FreeBSD gcc is not built using the gcc configure script.
Instead, all the target-specific configuration is under

Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list