Re: can't compile kernel for parisc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > Either hsh->target_section->owner or hsh->bh_root.string is NULL. =C2=A0C=
> > ould
> > > you put a break on this line and print the struct hsh in gdb?
> > 
> > bfd/elf32-hppa.c:
> > 3568   /* Make sure we can reach the stub.  */
> > 3569   if (max_branch_offset !=3D 0
> > 3570       && value + addend + max_branch_offset >=3D 2*max_branch_offset)
> > 3571     {

Another thought -- add one or more BFD_ASSERTs before the call.
For example,

	       BFD_ASSERT (hsh->bh_root.string);

> > 3572       (*_bfd_error_handler)
> > 3573         (_("%B(%A+0x%lx): cannot reach %s, recompile with
> > -ffunction-sections"),
> > 3574          input_bfd,
> > 3575          input_section,
> > 3576          offset,
> > 3577          hsh->bh_root.string);
> > 3578       bfd_set_error (bfd_error_bad_value);
> > 3579       return bfd_reloc_notsupported;
> > 3580     }

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux