|
From: | Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: | Re: Various build failures in current bzr tree |
Date: | Sat, 11 Feb 2012 00:38:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 |
On 11.02.2012 00:14, Lennart Sorensen wrote:
On Fri, Feb 10, 2012 at 03:43:01PM -0500, Lennart Sorensen wrote:On Fri, Feb 10, 2012 at 09:38:25PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:On 10.02.2012 21:25, Lennart Sorensen wrote:On Fri, Feb 10, 2012 at 08:25:32PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:On 10.02.2012 20:14, Lennart Sorensen wrote:On Fri, Feb 10, 2012 at 02:08:52PM -0500, Lennart Sorensen wrote:On Fri, Feb 10, 2012 at 07:58:25PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:On 10.02.2012 19:15, Lennart Sorensen wrote:Where should grub_arch_dl_get_tramp_got_size come from? The linker whines about it.It's in grub-core/kern/powerpc/dl.c I have no trouble to cross-compile ppc port on my amd64 machine.I will get the exact error again once I get the new code to stop whining so much. :) Or I can put the defined(__powerpc__) back in the older code and try that again.OK I did that:Oh, it's powerpc-emu. That changes everything.Well I am using the debian package rules which build both emu and ieee1275. I am not using emu, but I am building it. Building doesn't take long on a p710 after all.-- Regards Vladimir 'φ-coder/phcoder' Serbinenko === modified file 'grub-core/kern/emu/full.c' --- grub-core/kern/emu/full.c 2012-02-09 22:15:27 +0000 +++ grub-core/kern/emu/full.c 2012-02-10 20:37:43 +0000 @@ -50,7 +50,7 @@ grub_no_autoload = 1; } -#ifdef __ia64__ +#if defined (__ia64__) || defined (__powerpc__) void grub_arch_dl_get_tramp_got_size (const void *ehdr __attribute__ ((unused)), grub_size_t *tramp, grub_size_t *got) {That appears to fix the linker error on powerpc-emu builds. Yay!OK I did a build with --disable-werror and captured the output using gcc 4.5 rather than 4.4 this time, just to see if it made any difference. It failed though with: cat kernel_syms.lst> syminfo.lst.new for m in trig.module regexp.module blocklist.module boot.module cat.module cmp.module configfile.module date.module echo.module extcmd.module gptsync.module halt.module reboot.module hashsum.module help.module hexdump.module keystatus.module loadenv.module ls.module lsmmap.module memrw.module minicmd.module parttool.module password.module password_pbkdf2.module probe.module read.module search.module search_fs_file.module search_fs_uuid.module search_label.module sleep.module terminal.module test.module true.module videoinfo.module videotest.module xnu_uuid.module dm_nv.module loopback.module cryptodisk.module luks.module geli.module lvm.module ldm.module mdraid09.module mdraid1x.module diskfilter.module raid5rec.module raid6rec.module scsi.module memdisk.module font.module affs.module afs.module bfs.module btrfs.module cpio.module cpio_be.module newc.module odc.module ext2.module fat.module exfat.module fshelp.module hfs.module hfsplus.module iso9660.module jfs.module minix.module minix2.module minix3.module nilfs2.module ntfs.module ntfscomp.module reiserfs.module romfs.module sfs.module squash4.module tar.module udf.module ufs1.module ufs2.module xfs.module zfs.module zfscrypt.module zfsinfo.module gettext.module gfxmenu.module hello.module gzio.module bufio.module elf.module crypto.module pbkdf2.module setjmp.module normal.module part_acorn.module part_amiga.module part_apple.module part_gpt.module part_msdos.module part_sun.module part_plan.module part_dvh.module part_bsd.module part_sunpc.module msdospart.module gfxterm.module terminfo.module functional_test.module example_functional_test.module bitmap.module bitmap_scale.module jpeg.module png.module tga.module video_fb.module video.module sdl.module datehook.module net.module tftp.module http.module emunet.module legacycfg.module test_blockarg.module xzio.module lzopio.module testload.module keylayouts.module priority_queue.module time.module adler32.module crc64.module gcry_rmd160.module gcry_sha1.module gcry_sha256.module gcry_whirlpool.module gcry_tiger.module gcry_twofish.module gcry_blowfish.module gcry_crc.module gcry_rfc2268.module gcry_serpent.module gcry_arcfour.module gcry_cast5.module gcry_md4.module gcry_camellia.module gcry_des.module gcry_seed.module gcry_rijndael.module gcry_md5.module gcry_sha512.module ; do \ sh gensyminfo.sh $m>> syminfo.lst.new || exit 1; \ done mv syminfo.lst.new syminfo.lst cat syminfo.lst | sort | awk -f ../../../grub-core/genmoddep.awk> moddep.lst || (rm -f moddep.lst; exit 1) make[4]: *** [moddep.lst] Error 1 make[4]: Leaving directory `/root/grub2-1.99+20120210/build/grub-emu/grub-core' make[3]: *** [all-recursive] Error 1 I looked at it a bit and see: address@hidden:~/grub2-1.99+20120210/build/grub-emu/grub-core# cat syminfo.lst | sort | awk -f ../../../grub-core/genmoddep.awk error: 1: unrecognized input format address@hidden:~/grub2-1.99+20120210/build/grub-emu/grub-core# cat syminfo.lst | sort | head defined adler32 _gcry_digest_spec_adler32 defined adler32 grub_adler32_fini defined adler32 grub_adler32_init defined affs grub_affs_fini defined affs grub_affs_init defined afs grub_afs_fini defined afs grub_afs_init defined bfs grub_bfs_fini defined bfs grub_bfs_init defined bitmap grub_bitmap_fini Anyhow, I am attaching the buildlog for as far as it got so you can see which warnings remain (all of which of course would have aborted the build with -Werror). About 1500 warning: lines in the log at the moment.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
1.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |