Source: freebsd-glue Severity: normal X-Debbugs-Cc: zhan...@loongson.cn Dear Maintainer, Please modify gcc version for build, thanks! I think the gcc version should not be fixed, but should be greater than a certain version, unless the required features only exist on a specific version.
example: - gcc-9, + gcc (>= 9), -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: loong64 (loongarch64) Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect
>From 8ffd030b321a6c602cb91c60df5241b46ce7bc10 Mon Sep 17 00:00:00 2001 From: Zhang Na <zhan...@loongson.cn> Date: Sat, 6 Jan 2024 03:44:19 +0000 Subject: [PATCH] modify gcc version for build --- debian/control | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 1699ffe..87faabe 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Uploaders: Steven Chamberlain <ste...@pyro.eu.org>, Build-Depends: debhelper (>= 8.0), - gcc-9, + gcc (>= 9), kfreebsd-kernel-headers (>= 10.0~3) [kfreebsd-any], freebsd-mk, bmake, diff --git a/debian/rules b/debian/rules index b11b752..503ee26 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) # Determine host architecture compiler DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ifeq ($(origin CC),default) -CC := $(DEB_HOST_GNU_TYPE)-gcc-9 +CC := $(DEB_HOST_GNU_TYPE)-gcc endif # Determine build architecture compiler -- 2.43.0