This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/18864] New: Power PC build fails on Cygwin due to use of ln.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]