Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 2025 11:35:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        fortran@FreeBSD.org
Subject:   [Bug 287211] lang/gcc13: gfortran doesn't find libgfortran.spec on riscv64
Message-ID:  <bug-287211-37611@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287211

            Bug ID: 287211
           Summary: lang/gcc13: gfortran doesn't find libgfortran.spec on
                    riscv64
           Product: Ports & Packages
           Version: Latest
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: salvadore@freebsd.org
          Reporter: laurent.chardon@gmail.com
                CC: fortran@FreeBSD.org, riscv@FreeBSD.org
             Flags: maintainer-feedback?(salvadore@freebsd.org)
          Assignee: salvadore@freebsd.org
                CC: riscv@FreeBSD.org

Created attachment 260862
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260862&action=edit
failed configure log

While testing net/openmpi on riscv64, I found that gfortran tests in
./configure fail for not finding the file libgfortran.spec.

I fixed it temporarily in net/openmpi, but the issue should be fixed in gcc13
(and later?) itself.

# gfortran doesn't find libgfortran.spec on riscv64                             
.if ${ARCH} == "riscv64"                                                        
FCFLAGS+=  -B${LOCALBASE}/lib/gcc${GCC_DEFAULT}                                 
.endif

I don't need this patch with amd64, i386 or aarch64.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287211-37611>