On x86_64 when I try to build kernels, make modules is failing because the .o files are not being recognized as object files and the linker trys to read them as linker commands, which breaks the build.
When I test the file command on one of these, the detected type is 'data'. On i686 the .o files are properly detected. This changed a week or so ago, but file and file-libs haven't change since last summer. I have been doing this on f20, but there hasn't been a change on rawhide to file either.
Any ideas what is going on here?
On Wed, Jan 15, 2014 at 8:44 AM, Bruno Wolff III bruno@wolff.to wrote:
On x86_64 when I try to build kernels, make modules is failing because the .o files are not being recognized as object files and the linker trys to read them as linker commands, which breaks the build.
When I test the file command on one of these, the detected type is 'data'. On i686 the .o files are properly detected. This changed a week or so ago, but file and file-libs haven't change since last summer. I have been doing this on f20, but there hasn't been a change on rawhide to file either.
Any ideas what is going on here?
No, that's baffling. I build kernels all day long on x86_64 F20 just fine.
You might try building in a mock chroot if you aren't already. Beyond that, you could look at the compiler flags being passed but I'm not sure that's going to be fruitful.
josh
On Wed, Jan 15, 2014 at 08:56:01 -0500, Josh Boyer jwboyer@fedoraproject.org wrote:
No, that's baffling. I build kernels all day long on x86_64 F20 just fine.
You might try building in a mock chroot if you aren't already. Beyond that, you could look at the compiler flags being passed but I'm not sure that's going to be fruitful.
OK. For now I'll assume this is something specific to me and try to figure it out.
Having the raid1 fix in a kernel you built will let me test the fix and not have to worry about building it myself.
It has been frustrating trying to test this, because I have two different problems with testing kernels for the two different machines I was seeing the problem on. It's been a big time sink.
On Wed, Jan 15, 2014 at 07:44:42 -0600, Bruno Wolff III bruno@wolff.to wrote:
On x86_64 when I try to build kernels, make modules is failing because the .o files are not being recognized as object files and the linker trys to read them as linker commands, which breaks the build.
When I test the file command on one of these, the detected type is 'data'. On i686 the .o files are properly detected. This changed a week or so ago, but file and file-libs haven't change since last summer. I have been doing this on f20, but there hasn't been a change on rawhide to file either.
Any ideas what is going on here?
I was never able to figure out what the cause was, but it isn't happening any more. Kernel building is working fine again on that machine.
kernel@lists.fedoraproject.org