Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb compilation failure on AIX.
@ 2017-06-13 10:31 Sangamesh Mallayya
  2017-06-13 11:07 ` Simon Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Sangamesh Mallayya @ 2017-06-13 10:31 UTC (permalink / raw)
  To: GDB; +Cc: Ulrich Weigand, David Edelsohn, Sanket Rathi, Nitish Mishra

Hi All,

GDB is failing to compile on AIX.
https://gdb-build.sergiodj.net/builders/AIX-POWER8-plain/builds/1905/steps/compile%20gdb/logs/stdio

This is because of fork-inferior.o isn't being include during the final 
step of creating gdb binary.
I guess this is mostly becuase of some of the recent change. I need to 
check the history yet.

This patch should resolve this final linking issue.

--- ./gdb/configure.nat_orig    2017-06-13 02:05:59.000000000 -0500
+++ ./gdb/configure.nat 2017-06-13 02:19:41.000000000 -0500
@@ -88,7 +88,7 @@
                # Host: IBM PowerPC running AIX aix-thread.o is not
                # listed in NATDEPFILES as it is pulled in by
                # configure.
-               NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o'
+               NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o 
fork-inferior.o'
 
                # When compiled with cc, for debugging, this argument
                # should be passed.  We have no idea who our current

Let me know if this is fine. 

Thanks,
-Sangamesh



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdb compilation failure on AIX.
  2017-06-13 10:31 gdb compilation failure on AIX Sangamesh Mallayya
@ 2017-06-13 11:07 ` Simon Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Marchi @ 2017-06-13 11:07 UTC (permalink / raw)
  To: Sangamesh Mallayya
  Cc: GDB, Ulrich Weigand, David Edelsohn, Sanket Rathi, Nitish Mishra,
	sergiodj

On 2017-06-13 12:30, Sangamesh Mallayya wrote:
> Hi All,
> 
> GDB is failing to compile on AIX.
> https://gdb-build.sergiodj.net/builders/AIX-POWER8-plain/builds/1905/steps/compile%20gdb/logs/stdio
> 
> This is because of fork-inferior.o isn't being include during the final
> step of creating gdb binary.
> I guess this is mostly becuase of some of the recent change. I need to
> check the history yet.
> 
> This patch should resolve this final linking issue.
> 
> --- ./gdb/configure.nat_orig    2017-06-13 02:05:59.000000000 -0500
> +++ ./gdb/configure.nat 2017-06-13 02:19:41.000000000 -0500
> @@ -88,7 +88,7 @@
>                 # Host: IBM PowerPC running AIX aix-thread.o is not
>                 # listed in NATDEPFILES as it is pulled in by
>                 # configure.
> -               NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o'
> +               NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o
> fork-inferior.o'
> 
>                 # When compiled with cc, for debugging, this argument
>                 # should be passed.  We have no idea who our current
> 
> Let me know if this is fine.
> 
> Thanks,
> -Sangamesh

Hi Sangamesh,

There is already this patchset pending review, can you check if it works 
for you (and reply on that thread)?

   https://sourceware.org/ml/gdb-patches/2017-06/msg00250.html

CCing Sergio who did the refactoring work, he might have something to 
say about it.

Simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-13 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-13 10:31 gdb compilation failure on AIX Sangamesh Mallayya
2017-06-13 11:07 ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox