Subject: DEFAULT_USE_CXA_ATEXIT gets lost in gcc configuration
To: None <mrg@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-toolchain
Date: 09/17/2007 19:49:44
Hi -
there must be a flaw in the way gcc is built in our tree:
while dist/gcc4/gcc/config.gcc sets default_use_cxa_atexit
for NetBSD, this does not end up in the auto-host.h file.
If I try it manually, it seems that the definition ends up
in another file "auto-build.h" which is intended for cross
builds, and appearently not used for the native build.
So it seems that "configure" is called in a way which makes
it believe it is for a cross build, even for mknative...
best regards
Matthias
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv.
Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------