Port-powerpc archive

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

Re: binutils & kernel compile



>>>>> Kazuki Sakamoto writes:

Kazuki> The NetBSD/bebox kernel made by binutils-2.8.1 can't boot.
Kazuki> Of course, it made by binutils-2.7 can boot.

Kazuki> I examined where there is a difference.
Kazuki> The address where it was linked deviated to 4bytes,
Kazuki> and "_GLOBAL_OFFSET_TABLE_" was added.

Kazuki> Is there a problem in source code?
Kazuki> Is there a problem in binutils-2.8.1/gas?

        Did you build the kernel with -fpic/-fPIC?  Is the build relying
on some binutil-2.7 features / lack of complete support for PIC?

David



Home | Main Index | Thread Index | Old Index