* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed @ 2006-10-12 9:52 ` Michael Shigorin 2006-10-12 11:17 ` Dmitry V. Levin 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2006-10-12 9:52 UTC (permalink / raw) To: devel On Thu, Oct 12, 2006 at 01:34:16PM +0400, QA Team Robot wrote: > Package: etherboot-5.4.2-alt0.2 > Packager: Michael Shigorin <mike@altlinux> ... > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > objcopy -R .text16 bin/floppyprefix.o bin/floppyprefix.entry.o > objcopy -R .prefix bin/floppyprefix.o bin/floppyprefix.exit.o > ld -N -T arch/i386/core/etherboot.lds -o bin/undi.dsk.rt bin/undi.rt.o bin/floppyprefix.exit.o > bin/undi.rt.o: In function `undi_unload_base_code': > undi.c:(.text+0x180b): undefined reference to `__stack_chk_fail' > bin/undi.rt.o: In function `ip_transmit': > (.text+0x4999): undefined reference to `__stack_chk_fail' > bin/undi.rt.o: In function `eth_load_configuration': > (.text+0x4d97): undefined reference to `__stack_chk_fail' > bin/undi.rt.o: In function `decode_rfc1533': > (.text+0x5467): undefined reference to `rm bin/undi.rt.o bin/floppyprefix.entry.o bin/floppyprefix.exit.o > make: Leaving directory `/usr/src/RPM/BUILD/etherboot-5.4.2/src' > > RPM build errors: > __stack_chk_fail' > bin/undi.rt.o: In function `vsprintf': > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > make: *** [bin/undi.dsk.rt] Error 1 О, ещё один. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed 2006-10-12 9:52 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin @ 2006-10-12 11:17 ` Dmitry V. Levin 2006-10-12 20:18 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed + grub2 Hihin Ruslan 2006-10-14 19:10 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin 0 siblings, 2 replies; 7+ messages in thread From: Dmitry V. Levin @ 2006-10-12 11:17 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1616 bytes --] On Thu, Oct 12, 2006 at 12:52:54PM +0300, Michael Shigorin wrote: > On Thu, Oct 12, 2006 at 01:34:16PM +0400, QA Team Robot wrote: > > Package: etherboot-5.4.2-alt0.2 > > Packager: Michael Shigorin <mike@altlinux> > ... > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > > objcopy -R .text16 bin/floppyprefix.o bin/floppyprefix.entry.o > > objcopy -R .prefix bin/floppyprefix.o bin/floppyprefix.exit.o > > ld -N -T arch/i386/core/etherboot.lds -o bin/undi.dsk.rt bin/undi.rt.o bin/floppyprefix.exit.o > > bin/undi.rt.o: In function `undi_unload_base_code': > > undi.c:(.text+0x180b): undefined reference to `__stack_chk_fail' > > bin/undi.rt.o: In function `ip_transmit': > > (.text+0x4999): undefined reference to `__stack_chk_fail' > > bin/undi.rt.o: In function `eth_load_configuration': > > (.text+0x4d97): undefined reference to `__stack_chk_fail' > > bin/undi.rt.o: In function `decode_rfc1533': > > (.text+0x5467): undefined reference to `rm bin/undi.rt.o bin/floppyprefix.entry.o bin/floppyprefix.exit.o > > make: Leaving directory `/usr/src/RPM/BUILD/etherboot-5.4.2/src' > > > > RPM build errors: > > __stack_chk_fail' > > bin/undi.rt.o: In function `vsprintf': > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > > make: *** [bin/undi.dsk.rt] Error 1 > > О, ещё один. Линкуются как попало (без помощи gcc), а потом удивляются... -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed + grub2 2006-10-12 11:17 ` Dmitry V. Levin @ 2006-10-12 20:18 ` Hihin Ruslan 2006-10-14 19:10 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin 1 sibling, 0 replies; 7+ messages in thread From: Hihin Ruslan @ 2006-10-12 20:18 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 2415 bytes --] Здравствуйте Dmitry V. Levin В сообщении от 12 октября 2006 15:17 Dmitry V. Levin написал(a): > On Thu, Oct 12, 2006 at 12:52:54PM +0300, Michael Shigorin wrote: > > On Thu, Oct 12, 2006 at 01:34:16PM +0400, QA Team Robot wrote: > > > Package: etherboot-5.4.2-alt0.2 > > > > > > Packager: Michael Shigorin <mike@altlinux> > > > > ... > > > > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o > > > bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o > > > bin/realmode.o bin/realmode_asm.o bin/callbacks.o > > > bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o > > > bin/undi.rt.o > > > > > > objcopy -R .text16 bin/floppyprefix.o bin/floppyprefix.entry.o > > > > > > objcopy -R .prefix bin/floppyprefix.o bin/floppyprefix.exit.o > > > > > > ld -N -T arch/i386/core/etherboot.lds -o bin/undi.dsk.rt > > > bin/undi.rt.o bin/floppyprefix.exit.o > > > > > > bin/undi.rt.o: In function `undi_unload_base_code': > > > > > > undi.c:(.text+0x180b): undefined reference to `__stack_chk_fail' > > > > > > bin/undi.rt.o: In function `ip_transmit': > > > > > > (.text+0x4999): undefined reference to `__stack_chk_fail' > > > > > > bin/undi.rt.o: In function `eth_load_configuration': > > > > > > (.text+0x4d97): undefined reference to `__stack_chk_fail' > > > > > > bin/undi.rt.o: In function `decode_rfc1533': > > > > > > (.text+0x5467): undefined reference to `rm bin/undi.rt.o > > > bin/floppyprefix.entry.o bin/floppyprefix.exit.o > > > > > > make: Leaving directory `/usr/src/RPM/BUILD/etherboot-5.4.2/src' > > > > > > > > > > > > RPM build errors: > > > > > > __stack_chk_fail' > > > > > > bin/undi.rt.o: In function `vsprintf': > > > > > > vsprintf.c:(.text+0x5f9e): undefined reference to > > > `__stack_chk_fail' > > > > > > make: *** [bin/undi.dsk.rt] Error 1 > > > > О, ещё один. > > Линкуются как попало (без помощи gcc), а потом удивляются... О я сегодня на работе grub2 собирал - если через rpm -ba - то нормально, а если через хэшер, то не находит __stack_chk_fail при компиляции (не как у Миши при линковке, а раньше :) ) undefined reference to __stack_chk_fail' Это какоё #include (ну, или пакет, его содержащий) надо подключать (указывать) ? - Я что-то с ходу не нашёл. Хотя, теперь в etherboot посмотрю :) -- С уважением Xихин Руслан [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed 2006-10-12 11:17 ` Dmitry V. Levin 2006-10-12 20:18 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed + grub2 Hihin Ruslan @ 2006-10-14 19:10 ` Michael Shigorin 2006-10-14 19:13 ` Dmitry V. Levin 1 sibling, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2006-10-14 19:10 UTC (permalink / raw) To: ALT Devel discussion list On Thu, Oct 12, 2006 at 03:17:22PM +0400, Dmitry V. Levin wrote: > > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > > > bin/undi.rt.o: In function `vsprintf': > > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > > > make: *** [bin/undi.dsk.rt] Error 1 > > О, ещё один. > Линкуются как попало (без помощи gcc), а потом удивляются... Гм. Кто-нить просветит, как тогда линковаться с помощью gcc? Почитав (чуточку, чтоб не стать вдруг гуру в сишной сборке :) info ld invocation options, нарисовал такое и тоже обломался: [builder@hasher32 src]$ gcc -Wl,-N -Wl,-r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed 2006-10-14 19:10 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin @ 2006-10-14 19:13 ` Dmitry V. Levin 2006-10-14 19:28 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Dmitry V. Levin @ 2006-10-14 19:13 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 885 bytes --] On Sat, Oct 14, 2006 at 10:10:11PM +0300, Michael Shigorin wrote: > On Thu, Oct 12, 2006 at 03:17:22PM +0400, Dmitry V. Levin wrote: > > > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > > > > bin/undi.rt.o: In function `vsprintf': > > > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > > > > make: *** [bin/undi.dsk.rt] Error 1 > > > О, ещё один. > > Линкуются как попало (без помощи gcc), а потом удивляются... > > Гм. Кто-нить просветит, как тогда линковаться с помощью gcc? Все нормальные программы (их подавляющее большинство) линкуются с помощью gcc. Но бывают исключения, например код, предназначенный для realmode. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed 2006-10-14 19:13 ` Dmitry V. Levin @ 2006-10-14 19:28 ` Michael Shigorin 2006-10-14 19:39 ` Dmitry V. Levin 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2006-10-14 19:28 UTC (permalink / raw) To: ALT Devel discussion list On Sat, Oct 14, 2006 at 11:13:20PM +0400, Dmitry V. Levin wrote: > > > > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > > > > > bin/undi.rt.o: In function `vsprintf': > > > > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > > > > > make: *** [bin/undi.dsk.rt] Error 1 > > > > О, ещё один. > > > Линкуются как попало (без помощи gcc), а потом удивляются... > > Гм. Кто-нить просветит, как тогда линковаться с помощью gcc? > Все нормальные программы (их подавляющее большинство) линкуются > с помощью gcc. Но бывают исключения, например код, > предназначенный для realmode. -fno-stack-protector -- нехай собі живе. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed 2006-10-14 19:28 ` Michael Shigorin @ 2006-10-14 19:39 ` Dmitry V. Levin 0 siblings, 0 replies; 7+ messages in thread From: Dmitry V. Levin @ 2006-10-14 19:39 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1012 bytes --] On Sat, Oct 14, 2006 at 10:28:23PM +0300, Michael Shigorin wrote: > On Sat, Oct 14, 2006 at 11:13:20PM +0400, Dmitry V. Levin wrote: > > > > > > ld -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a -o bin/undi.rt.o > > > > > > bin/undi.rt.o: In function `vsprintf': > > > > > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail' > > > > > > make: *** [bin/undi.dsk.rt] Error 1 > > > > > О, ещё один. > > > > Линкуются как попало (без помощи gcc), а потом удивляются... > > > Гм. Кто-нить просветит, как тогда линковаться с помощью gcc? > > Все нормальные программы (их подавляющее большинство) линкуются > > с помощью gcc. Но бывают исключения, например код, > > предназначенный для realmode. > > -fno-stack-protector -- нехай соб? живе. Если realmode, то -fno-stack-protector. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-10-14 19:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-10-12 9:52 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin 2006-10-12 11:17 ` Dmitry V. Levin 2006-10-12 20:18 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed + grub2 Hihin Ruslan 2006-10-14 19:10 ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Michael Shigorin 2006-10-14 19:13 ` Dmitry V. Levin 2006-10-14 19:28 ` Michael Shigorin 2006-10-14 19:39 ` Dmitry V. Levin
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git