- Merge from gdb-7.4.50.20120603-3.fc18.src.rpm. * Wed Jun 6 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120603-3.fc18 - Disable -lmcheck in the development builds. - Fix assertion on some files as glibc-2.15.90-8.fc18 (Doug Evans). * Sun Jun 3 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120603-2.fc18 - Fix Release. - Make yum --enablerepo compatible with at least mock-1.1.21-1.fc16 Rawhide cfg. * Sun Jun 3 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120602-1.fc18 - Rebase to FSF GDB 7.4.50.20120602. - [testsuite] BuildRequire gcc-go. - Drop printing 2D C++ vectors as matrices which no longer worked (BZ 562763). - Fix dejagnu-1.5-4.fc17 compatibility for Go (for BZ 635651). - Use librpm.so.3 for rpm-4.10.0 in Fedora 18. - Revert recent breakage of UNIX objfiles order for symbols lookup. * Sat Jun 2 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-48.fc17 - [ppc] Fix hardware watchpoints on PowerPC (BZ 827600, Edjunior Machado). * Mon May 28 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-47.fc17 - Workaround PR libc/14166 for inferior calls of strstr. * Mon May 14 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-46.fc17 - [RHEL5] Workaround doc build race. * Mon May 14 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-45.fc17 - Rename "set auto-load" patchset variable $ddir to $datadir. * Wed May 9 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-44.fc17 OBS-URL: https://build.opensuse.org/request/show/125095 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=88
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
make check//unix/-fPIE/-pie RUNTESTFLAGS=solib-display.exp
|
|
|
|
gcc -fpic -c -fPIE -pie -o x.o x.c
|
|
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/Scrt1.o: In function `_start':
|
|
(.text+0x20): undefined reference to `main'
|
|
|
|
=> Change the order for overrides.
|
|
|
|
One has to also use -fPIC rather than -fPIE, -fPIC is stronger.
|
|
|
|
The correct way would be:
|
|
make check//unix RUNTESTFLAGS='CC_FOR_TARGET=gcc\ -fPIC\ -pie CXX_FOR_TARGET=g++\ -fPIC\ -pie solib-display.exp'
|
|
|
|
But there is a problem with testsuite.unix non-unique subdir name and also
|
|
a problem with make -j parallelization of the testsuite.
|
|
|
|
--- gdb-7.3.50.20110722/gdb/testsuite/lib/future.exp 2011-10-11 16:44:05.000000000 +0200
|
|
+++ gdb-7.3.50.20110722/gdb/testsuite/lib/future.exp 2011-10-11 16:44:10.000000000 +0200
|
|
@@ -77,6 +77,10 @@ proc gdb_default_target_compile {source
|
|
set ldflags ""
|
|
set dest [target_info name]
|
|
|
|
+ if {[board_info $dest exists multilib_flags]} {
|
|
+ append add_flags " [board_info $dest multilib_flags]"
|
|
+ }
|
|
+
|
|
if {[info exists CFLAGS_FOR_TARGET]} {
|
|
append add_flags " $CFLAGS_FOR_TARGET"
|
|
}
|
|
@@ -333,10 +337,6 @@ proc gdb_default_target_compile {source
|
|
}
|
|
}
|
|
|
|
- if {[board_info $dest exists multilib_flags]} {
|
|
- append add_flags " [board_info $dest multilib_flags]"
|
|
- }
|
|
-
|
|
verbose "doing compile"
|
|
|
|
set sources ""
|