[fink:bugs] #1665 gdb-8.1-1 build (probe.c) fails on 10.11.6

Hanspeter Niederstrasser via Fink-tracker <[email protected]> Thu, 29 Mar 2018 11:36:19 -0000
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/bugs/1665/50c04e117a7ccc0a5beb61709ea99547a6f9d5b0.bugs@fink.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============4507113248994030676==
Content-Type: multipart/related;
 boundary="===============7365138242591683445=="

This is a multi-part message in MIME format.
--===============7365138242591683445==
Content-Type: multipart/alternative;
 boundary="===============5759777384146567323=="
MIME-Version: 1.0

--===============5759777384146567323==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I get the same failure with Xcode 7.3.1 on 10.11. So it's not tied to a specific Xcode release, but it could require a minimum Xcode. The initial commit was tested by @remkos on Xcode 9.2/10.13.

https://github.com/fink/fink-distributions/pull/56



---

** [bugs:#1665] gdb-8.1-1 build (probe.c) fails on 10.11.6**

**Status:** open
**Group:** 10.11
**Labels:** gdb 
**Created:** Wed Mar 28, 2018 04:37 PM UTC by Jeff Frontz
**Last Updated:** Wed Mar 28, 2018 04:52 PM UTC
**Owner:** nobody


I'm trying to install gdb (gdb-8.1-1) on MacOS 10.11.6 and it fails when trying to compile probe.c:

probe.c:63:28: error: default initialization of an object of const type 'const any_static_probe_ops' without a
      user-provided default constructor
const any_static_probe_ops any_static_probe_ops;
                           ^

Failing command line:

g++ -x c++ -std=gnu++11 -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/sw/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1   -I/sw/include -I/sw/include/guile/2.0 -I/sw/include -D_THREAD_SAFE -I/sw/include/python2.7 -I/sw/include/python2.7 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wno-sign-compare -Wno-narrowing -Wno-mismatched-tags -Wformat-nonliteral  -c -o probe.o -MT probe.o -MMD -MP -MF ./.deps/probe.Tpo probe.c

Environment:
Package manager version: 0.43.0
Distribution version: selfupdate-git Wed Mar 28 11:48:52 2018, 10.11, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 8.2.1
Xcode command-line tools: 8.2.0.0.1.1480973914
Max. Fink build jobs:  1





---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============5759777384146567323==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>I get the same failure with Xcode 7.3.1 on 10.11. So it's not tied to a specific Xcode release, but it could require a minimum Xcode. The initial commit was tested by @remkos on Xcode 9.2/10.13.</p>
<p><a href="https://github.com/fink/fink-distributions/pull/56" rel="nofollow">https://github.com/fink/fink-distributions/pull/56</a></p>
<hr/>
<p><strong> <a class="alink" href="https://sourceforge.net/p/fink/bugs/1665/">[bugs:#1665]</a> gdb-8.1-1 build (probe.c) fails on 10.11.6</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> 10.11<br/>
<strong>Labels:</strong> gdb <br/>
<strong>Created:</strong> Wed Mar 28, 2018 04:37 PM UTC by Jeff Frontz<br/>
<strong>Last Updated:</strong> Wed Mar 28, 2018 04:52 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>I'm trying to install gdb (gdb-8.1-1) on MacOS 10.11.6 and it fails when trying to compile probe.c:</p>
<p>probe.c:63:28: error: default initialization of an object of const type 'const any_static_probe_ops' without a<br/>
      user-provided default constructor<br/>
const any_static_probe_ops any_static_probe_ops;<br/>
                           ^</p>
<p>Failing command line:</p>
<p>g++ -x c++ -std=gnu++11 -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/sw/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1   -I/sw/include -I/sw/include/guile/2.0 -I/sw/include -D_THREAD_SAFE -I/sw/include/python2.7 -I/sw/include/python2.7 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wno-sign-compare -Wno-narrowing -Wno-mismatched-tags -Wformat-nonliteral  -c -o probe.o -MT probe.o -MMD -MP -MF ./.deps/probe.Tpo probe.c</p>
<p>Environment:<br/>
Package manager version: 0.43.0<br/>
Distribution version: selfupdate-git Wed Mar 28 11:48:52 2018, 10.11, x86_64<br/>
Trees: local/main stable/main local/injected<br/>
Xcode.app: 8.2.1<br/>
Xcode command-line tools: 8.2.0.0.1.1480973914<br/>
Max. Fink build jobs:  1</p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/fink/bugs/">https://sourceforge.net/p/fink/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/fink/admin/bugs/options.">https://sourceforge.net/p/fink/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============5759777384146567323==--
--===============7365138242591683445==--


--===============4507113248994030676==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============4507113248994030676==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
--===============4507113248994030676==--