[Clfs-support] gcc-6.3
Roger Koehler
roger.o.koehler at gmail.com
Thu Dec 29 07:40:01 PST 2016
On 12/28/16, Roger Koehler <roger.o.koehler at gmail.com> wrote:
> On Wed, Dec 28, 2016 at 11:44 AM, Roger Koehler
> <roger.o.koehler at gmail.com> wrote:
>> On 27/12/16 09:08, Roger Koehler wrote:
>>> On Tue, Dec 27, 2016 at 9:02 AM, Martin Ward
>>>>
>>>> The principles sent out though do still work with the latest toolchain,
>>>> gcc-6.2.0, glibc-2.24 binutils-2.27 etc
>>>>
>>>> i'll will be updating to gcc-6.3 v soon
>>>
>>> That being the case, I will modify my approach and try building with
>>> the latest sources.
>>
>> I'm concerned about the "Additional Patches for x86_64 Multilib"
>> (3.5). I should probably wait for your update.
>
> I decided to go ahead and hack the patches. I got a few rejects so
> far, so I just went in and manually added the /tools prefix. I could
> try generating a patch with diff, but I've never done that on an
> entire directory before.
Got an error on the final build of GCC 6.3.0:
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.
make[1]: *** [Makefile:4089: configure-gcc] Error 1
make[1]: Leaving directory '/mnt/clfs/sources/gcc-build'
make: *** [Makefile:882: all] Error 2
Going back to the LFS book, I noticed that they
modify limits.h:
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h
(see LFS book for explanation)
Changing $LFS_TGT to $CLFS_TARGET, I tried the same trick, but got the
same error.
I guess I'll leave it up to the experts and wait for the update to GCC 6.3.
More information about the Clfs-support
mailing list