public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/26848] New: Build failure due to missing previous declaration
@ 2020-11-05 23:17 markus.boeck02 at gmail dot com
  2020-11-06  1:04 ` [Bug build/26848] " simark at simark dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: markus.boeck02 at gmail dot com @ 2020-11-05 23:17 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26848
           Summary: Build failure due to missing previous declaration
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: markus.boeck02 at gmail dot com
  Target Milestone: ---

Current trunk of gdb (712b8a0f68f2b24d554a83a1740fa06f7aec8952) fails to build
in my environment. Following error message appears:

make[2]: Leaving directory
'/mnt/c/GCC-Build-Array/binutils-gdb/build-gdb/opcodes'
../../gdbsupport/pathstuff.cc:324:1: error: no previous declaration for
'std::string find_gdb_home_config_file(const char*, _stat64*)'
[-Werror=missing-declarations]
  324 | find_gdb_home_config_file (const char *name, struct stat *buf)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [pathstuff.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-gdbsupport] Error 2
make: *** [all] Error 2
Makefile:505: recipe for target 'pathstuff.o' failed
make[3]: Leaving directory
'/mnt/c/GCC-Build-Array/binutils-gdb/build-gdb/gdbsupport'

The configure command used was:

configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32                
                                                 
--with-auto-load-dir=$debugdir:$datadir/auto-load                              
                                       
--with-auto-load-safe-path=$debugdir:$datadir/auto-load                        
                                        --with-expat                           
                                                                               
--with-gdb-datadir=/mnt/c/GDB/share/gdb (relocatable)                          
                                       
--with-jit-reader-dir=/mnt/c/GDB/lib/gdb (relocatable)                         
                                        --without-libunwind-ia64               
                                                                               
--with-lzma                                                                    
                                        --without-babeltrace                   
                                                                               
--without-intel-pt                                                             
                                        --with-mpfr                            
                                                                               
--without-xxhash                                                               
                                       
--with-python=/mnt/c/GCC-Build/NewestLinux/Libraries                           
                                       
--with-python-libdir=/mnt/c/GCC-Build/NewestLinux/Libraries/lib                
                                        --without-debuginfod                   
                                                                               
--without-guile                                                                
                                        --disable-source-highlight             
                                                                               
--with-separate-debug-dir=/mnt/c/GDB/lib/debug (relocatable)                   
                                       
--with-system-gdbinit=/mnt/c/GDB/etc/gdbinit.py (relocatable)

GCC is version 10.2.1 targetting x86_64-w64-mingw32

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

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

end of thread, other threads:[~2020-11-10 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 23:17 [Bug build/26848] New: Build failure due to missing previous declaration markus.boeck02 at gmail dot com
2020-11-06  1:04 ` [Bug build/26848] " simark at simark dot ca
2020-11-10 20:12 ` tromey at sourceware dot org
2020-11-10 20:13 ` cvs-commit at gcc dot gnu.org
2020-11-10 20:14 ` tromey at sourceware 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).