History log of /netbsd/external/gpl3/gcc/usr.bin/backend/Makefile (Results 1 – 25 of 68)
Revision Date Author Comments
# 75c33a36 03-Jun-2023 lukem <lukem@NetBSD.org>

adapt to ${CC_WNO_MAYBE_UNINITIALIZED}

Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of
the older style more complex expressions.

Remove workarounds if they were for a specific
version of gcc < 10.


# d5dd6708 19-May-2023 lukem <lukem@NetBSD.org>

gcc: fix build with clang++ HOST_CXX

Define HOSTPROG_CXX before .include anything that brings in bsd.own.mk.
This ensures that HOST_DBG (etc) gets assigned before HOST_CFLAGS
and HOST_CXXFLAGS is cr

gcc: fix build with clang++ HOST_CXX

Define HOSTPROG_CXX before .include anything that brings in bsd.own.mk.
This ensures that HOST_DBG (etc) gets assigned before HOST_CFLAGS
and HOST_CXXFLAGS is created.

backend: .include <bsd.init.mk> much earlier, as per the other directories.
Fixes backend build when using clang++ as the host compiler (e.g., macOS),
because backend host tools are now built with -O.
Inspired by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255760

Note that gcc.old/Makefile.prog may be mis-used because it defines HOSTPROG_CXX
and this Makefile fragment is included after bsd.*.mk in other Makefiles,
but they seem to build ok so leaving it alone for now.

Fixes PR toolchain/57014

show more ...


# 49c60c95 18-Sep-2021 christos <christos@NetBSD.org>

Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD

Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD
from a GNU Guix or NixOS host, where /usr/include, /lib, and all
but /bin/sh do not exist. In many cases, support for HOST_CPPFLAGS
was incomplete. From Ryan Sundberg

show more ...


# f9ca4d16 13-Apr-2021 mrg <mrg@NetBSD.org>

more -O0 for vax


# d135ba24 12-Apr-2021 mrg <mrg@NetBSD.org>

various changes to get GCC 10 to build here.

- fix path to compiler-specific includes
- missing (void) for (older) C
- fix __is_signed/__is_signed_val change
- avoid compiler warning-as-errors
- add

various changes to get GCC 10 to build here.

- fix path to compiler-specific includes
- missing (void) for (older) C
- fix __is_signed/__is_signed_val change
- avoid compiler warning-as-errors
- add to existing COPTS.file values, instead of setting
- bump libgomp minor; functions were added
- add new 'compare' c++ header
- handle new analyzer subdirectory. set TARGET_MACHINE for lto-streamer-in.c.
remove params.list etc handling.
- coroutines.cc is another .cc not .c. adjust .PATH to suit.
- add new lto1 sources
- couple of files not in /arch/ subdirs missed in mknative update.

rs6000.c is still not merged.

show more ...


# 310168e1 15-Sep-2020 mrg <mrg@NetBSD.org>

make build and work on sh3 and vax.


# c8dfce12 06-Sep-2020 mrg <mrg@NetBSD.org>

build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H


# fbb2e6fc 05-Sep-2020 mrg <mrg@NetBSD.org>

make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


# 8349db0d 05-Sep-2020 mrg <mrg@NetBSD.org>

port reachover framework to GCC 9.


# f562b00c 03-Sep-2020 jakllsch <jakllsch@NetBSD.org>

Treat aarch64eb the same as aarch64, enabling aarch64eb build


# b2662d41 12-Jun-2020 fox <fox@NetBSD.org>

external/gpl3/gcc: Suppress -Werror=maybe-uninitialized

Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be

external/gpl3/gcc: Suppress -Werror=maybe-uninitialized

Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.

Error was reported when build.sh was run with MKSANITIZER=yes flag.

Reviewed by: kamil@

show more ...


# 4ebf21b8 29-Oct-2019 christos <christos@NetBSD.org>

Add more -O0 files for vax, sort


# aa28df67 02-Oct-2019 mrg <mrg@NetBSD.org>

make most of this compile:
- sanitizer_procmaps_netbsd.cc is obsolete.
- fix merge botches where upstrem has as slightly different version
is upstream than prior local
- libstdc++ default is now gn

make most of this compile:
- sanitizer_procmaps_netbsd.cc is obsolete.
- fix merge botches where upstrem has as slightly different version
is upstream than prior local
- libstdc++ default is now gnu++17
- ubsan needs UBSAN_CAN_USE_CXXABI set
- properly use $G_RTL_BASE_H not (empty) $RTL_BASE_H
- libbackend HH gains new generated insn-modes-inline.h, and read-md.c
gains the HH dep.

show more ...


# 7c66c74a 09-Feb-2019 maya <maya@NetBSD.org>

Fake mknative for riscv64, enough to complete a tools build.


# 54efe9fd 08-Feb-2019 mrg <mrg@NetBSD.org>

clean all the temporary and other files in a build.


# 9ee7013e 07-Feb-2019 mrg <mrg@NetBSD.org>

apply -O0 to a few more files for vax.


# b7834f69 04-Feb-2019 mrg <mrg@NetBSD.org>

ira-color.c needs -Wno-error=int-in-bool-context for now.


# 1a0b9396 06-Nov-2018 mrg <mrg@NetBSD.org>

- make the build depend upon the BASE-VER file.
- workaround a problem only see with -O2 in ipa-inline.c: it can't
convince itself that an integer underflow can't happen.


# 7d40a96e 15-Jul-2018 christos <christos@NetBSD.org>

Aarch64 specific generated files.


# 2ce80250 19-Apr-2018 mrg <mrg@NetBSD.org>

add missing cgraphunit.c dependancy on pass_manager.h. should fix report
from thorpej on current-users about missing pass-instances.def.


# 76ea748c 13-Apr-2018 mrg <mrg@NetBSD.org>

fix some more missing depends issues. remove various wrong/old depends.

fixes issues i was able to trigger manually by building specific files.

more for PR#53137.


# ea92af17 12-Apr-2018 mrg <mrg@NetBSD.org>

fix the hard coded depends list for insn-*. i pulled these out
of the generated .d files for a successful build. i've tested
that at least one recent macppc build failure is fixed with this
change

fix the hard coded depends list for insn-*. i pulled these out
of the generated .d files for a successful build. i've tested
that at least one recent macppc build failure is fixed with this
change (namely, try building just insn-emit.o in this subdir),
but the pattern should fix anything else left in insn*.

this really should finally fix PR#53137.

show more ...


# 37a9c2bd 05-Apr-2018 mrg <mrg@NetBSD.org>

pretty much everything depends upon insn-opinit.h via optabs-query.h
so set it in DPSRCS. hopefully this fixes PR 53137.


# 81f63b37 02-Apr-2018 mrg <mrg@NetBSD.org>

apply some more vax -O0/-O1. this now builds.


# b2dc336c 02-Apr-2018 mrg <mrg@NetBSD.org>

handle programs that have 3 outputs in a saner fashion.
hopefully fixes PR 53137.


123