[oe-issues] [Bug 1592] New: GDB 6.3 fails to compile with external toolchain - missing LDFLAGS

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Nov 16 13:42:43 UTC 2006


http://bugs.openembedded.org/show_bug.cgi?id=1592

           Summary: GDB 6.3 fails to compile with external toolchain -
                    missing LDFLAGS
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: dev at settopsolutions.com
         QAContact: tinderbox-oe at gmx.net


Build statistics:
  Attempted builds: 1
NOTE: package gdb-6.3: started
NOTE: package gdb-6.3-r2: task do_fetch: started
NOTE: package gdb-6.3-r2: task do_fetch: completed
NOTE: package gdb-6.3-r2: task do_unpack: started
NOTE: Unpacking /home/tom/oe_sources/gdb-6.3.tar.gz to
/home/tom/stv/oe-stv/build/tmp-real/work/i586-stv-linux/gdb-6.3-r2/
NOTE: package gdb-6.3-r2: task do_unpack: completed
NOTE: package gdb-6.3-r2: task do_patch: started
NOTE: Applying patch 'uclibc.patch'
NOTE: Applying patch 'kill_arm_map_symbols.patch'
NOTE: Applying patch 'gdbserver-cflags-last.diff'
NOTE: package gdb-6.3-r2: task do_patch: completed
NOTE: package gdb-6.3-r2: task do_configure: started
NOTE: package gdb-6.3-r2: task do_configure: completed
NOTE: package gdb-6.3-r2: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/tom/stv/oe-stv/build/tmp-real/work/i586-stv-linux/gdb-6.3-r2/temp/log.do_compile.6630)
| NOTE: make SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils
| Configuring in libiberty
| configure: loading site script
/home/tom/stv/oe-stv/org.openembedded.dev/site/i586-linux
| configure: creating cache ./config.cache
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking for makeinfo... makeinfo
| checking for perl... perl
| checking build system type... i686-pc-linux-gnu
| checking host system type... i586-stv-linux-gnu
| checking for i586-stv-linux-ar... i586-stv-linux-ar
| checking for i586-stv-linux-ranlib... i586-stv-linux-ranlib
| checking for i586-stv-linux-gcc... ccache i586-stv-linux-gcc-3.4.4 -march=c3
-mtune=c3
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether ccache i586-stv-linux-gcc-3.4.4 -march=c3 -mtune=c3 accepts
-g... yes
| checking for ccache i586-stv-linux-gcc-3.4.4 -march=c3 -mtune=c3 option to
accept ANSI C... none needed
| checking how to run the C preprocessor... i586-stv-linux-gcc-3.4.4 -E
| checking whether ccache i586-stv-linux-gcc-3.4.4 -march=c3 -mtune=c3 and cc
understand -c and -o together... yes
| checking for an ANSI C-conforming const... yes
| checking for inline... inline
| checking whether byte ordering is bigendian... (cached) no
| checking for a BSD-compatible install... /usr/bin/install -c
| checking for sys/file.h... yes
| checking for sys/param.h... yes
| checking for limits.h... yes
| checking for stdlib.h... yes
| checking for malloc.h... yes
| checking for string.h... yes
| checking for unistd.h... yes
| checking for strings.h... yes
| checking for sys/time.h... yes
| checking for time.h... yes
| checking for sys/resource.h... yes
| checking for sys/stat.h... yes
| checking for sys/mman.h... yes
| checking for fcntl.h... yes
| checking for alloca.h... yes
| checking for sys/pstat.h... no
| checking for sys/sysmp.h... no
| checking for sys/sysinfo.h... yes
| checking for machine/hal_sysinfo.h... no
| checking for sys/table.h... no
| checking for sys/sysctl.h... yes
| checking for sys/systemcfg.h... no
| checking for stdint.h... yes
| checking for sys/wait.h that is POSIX.1 compatible... yes
| checking whether time.h and sys/time.h may both be included... yes
| checking whether errno must be declared... no
| checking for egrep... grep -E
| checking for ANSI C header files... yes
| checking for sys/types.h... yes
| checking for sys/stat.h... (cached) yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for memory.h... yes
| checking for strings.h... (cached) yes
| checking for inttypes.h... yes
| checking for stdint.h... (cached) yes
| checking for unistd.h... (cached) yes
| checking for uintptr_t... yes
| checking for a 64-bit type... uint64_t
| checking for pid_t... yes
| checking for library containing strerror... configure: error: Link tests are
not allowed after GCC_NO_EXECUTABLES.
| make: *** [configure-libiberty] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/tom/stv/oe-stv/build/tmp-real/work/i586-stv-linux/gdb-6.3-r2/temp/log.do_compile.6630
NOTE: package gdb-6.3-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gdb-6.3: failed
ERROR: Build of 'gdb' failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1

Fixed by ensuring my LDFLAGS get passed... see attached diff. I fixed this for
6.3. 6.4 has the same issue and can be fixed in the same way, although 6.4 has
another issue too - I will raise a seperate ticket in a minute.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list