public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/18864] New: Power PC build fails on Cygwin due to use of ln.
@ 2015-08-24 17:16 kpublic at tranaptic dot ca
  2021-10-03 15:38 ` [Bug sim/18864] " vapier at gentoo dot org
  2021-10-03 15:38 ` vapier at gentoo dot org
  0 siblings, 2 replies; 3+ messages in thread
From: kpublic at tranaptic dot ca @ 2015-08-24 17:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18864

            Bug ID: 18864
           Summary: Power PC build fails on Cygwin due to use of ln.
           Product: gdb
           Version: 7.9
            Status: NEW
          Severity: critical
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: kpublic at tranaptic dot ca
  Target Milestone: ---

Building gdb on Cygwin under Windows 7, the "run" target of sim/ppc/Makefile.in
uses "ln psim$(EXEEXT) run$(EXEEXT)" even though configure detects a broken ln.
I replaced the ln with cp (like the configure script said it was using) and the
build worked. I tried replacing ln with $(LN) but LN wasn't defined in the
build's sim/ppc/Makefile.

The relevant bits from running configure:
checking whether ln works... no, using cp
checking whether ln -s works... no, using cp -p

The relevant bit from the build:
gcc/4.9.2/gdb-7.8.1/sim/ppc/main.c
i686-pc-mingw32-gcc -O2 -pipe -D__USE_MINGW_ACCESS  -static-libstdc++
-static-libgcc -s -Wl,--stack,12582912 -o psim.exe main.o libsim.a
../../bfd/libbfd.a ../../intl/libintl.a ../../libiberty/libiberty.a 
rm -f run.exe
ln psim.exe run.exe
Makefile:559: recipe for target 'run' failed
make[2]: *** [run] Error 1
make[2]: Leaving directory
'/home/cross-gcc/4.9.2/powerpc-eabi-build/gdb/sim/ppc'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/cross-gcc/4.9.2/powerpc-eabi-build/gdb/sim'
Makefile:8089: recipe for target 'all-sim' failed
make: *** [all-sim] Error 2

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


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

* [Bug sim/18864] Power PC build fails on Cygwin due to use of ln.
  2015-08-24 17:16 [Bug build/18864] New: Power PC build fails on Cygwin due to use of ln kpublic at tranaptic dot ca
@ 2021-10-03 15:38 ` vapier at gentoo dot org
  2021-10-03 15:38 ` vapier at gentoo dot org
  1 sibling, 0 replies; 3+ messages in thread
From: vapier at gentoo dot org @ 2021-10-03 15:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18864

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Assignee|unassigned at sourceware dot org   |vapier at gentoo dot org
         Resolution|---                         |FIXED

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
should be fixed now by falling back to symlinks and then copy

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

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

* [Bug sim/18864] Power PC build fails on Cygwin due to use of ln.
  2015-08-24 17:16 [Bug build/18864] New: Power PC build fails on Cygwin due to use of ln kpublic at tranaptic dot ca
  2021-10-03 15:38 ` [Bug sim/18864] " vapier at gentoo dot org
@ 2021-10-03 15:38 ` vapier at gentoo dot org
  1 sibling, 0 replies; 3+ messages in thread
From: vapier at gentoo dot org @ 2021-10-03 15:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18864

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=46039d3632e32d9a404c1f18cf55f14c894e4627

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

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

end of thread, other threads:[~2021-10-03 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-24 17:16 [Bug build/18864] New: Power PC build fails on Cygwin due to use of ln kpublic at tranaptic dot ca
2021-10-03 15:38 ` [Bug sim/18864] " vapier at gentoo dot org
2021-10-03 15:38 ` vapier at gentoo dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).