[MacPorts] #68756: gildas @202311b: duplicate LC_RPATH '/opt/local/lib/libgcc'

MacPorts noreply at macports.org
Tue Nov 28 09:05:49 UTC 2023


#68756: gildas @202311b: duplicate LC_RPATH '/opt/local/lib/libgcc'
---------------------------+----------------------
  Reporter:  pabloriviere  |      Owner:  bardeau
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gildas        |
---------------------------+----------------------

Comment (by bardeau):

 Replying to [comment:21 bardeau]:
 > Replying to [comment:20 barracuda156]:
 > > Replying to [comment:9 bardeau]:
 > > > Sorry, the PATH_MAX bug appears with gcc13 installed with MacPorts.
 > >
 > > Do you mean the issue is specific to Macports installation of gcc13
 but not gcc13 as such?
 >
 > This piece of code used to compile up to mp-gcc12:
 >
 > {{{
 > #include <limits.h>
 >
 > void main() {
 >   char foo[PATH_MAX];
 >   return;
 > }
 > }}}
 >
 > Now for mp-gcc13 I need to include syslimits.h instead. As this include
 also brings PATH_MAX for mp-gcc12, I made the change when compiling with
 gcc installed with MacPorts. The include file is different for other
 operating systems, but that's another story.

 Actually I have a build failure under macos-13 + gcc-13 as the file
 syslimits.h is not found. Is it the right file to include, or I there a
 missing dependency I should request?

-- 
Ticket URL: <https://trac.macports.org/ticket/68756#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list