cannot build linux-odroid-u2

Problems with packages? Post here, using [tags] of the package name.

cannot build linux-odroid-u2

Postby v01d » Thu Aug 13, 2015 3:49 pm

Hi, I just submitted an issue to github since I cannot recompile the linux-odroid-u2 package and it was immediately closed without reason. I don't understand why. I'm seeking for help here.
This is the link to the issue: https://github.com/archlinuxarm/PKGBUILDs/issues/1230
v01d
 
Posts: 8
Joined: Mon Jul 19, 2010 4:22 pm

Re: cannot build linux-odroid-u2

Postby WarheadsSE » Thu Aug 13, 2015 6:07 pm

Because if you read the error message, it states the issue is with gcc5

This kernel has not been re-built since Jan 12, 2015.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: cannot build linux-odroid-u2

Postby v01d » Thu Aug 13, 2015 6:32 pm

I'm aware the issue is with gcc 5. What I don't understand is how is this invalid since, from what I understand, this is preventing recompilation of the odroid kernel.

Is there a reason why this kernel is version 3.8? Maybe it is better to update the kernel to a newer version, which should be compatible with gcc 5. But maybe there's another issue preventing that.
v01d
 
Posts: 8
Joined: Mon Jul 19, 2010 4:22 pm

Re: cannot build linux-odroid-u2

Postby WarheadsSE » Thu Aug 13, 2015 9:33 pm

You'd want to take that one up with Hardkernel, as we're using their source trees.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: cannot build linux-odroid-u2

Postby v01d » Thu Aug 13, 2015 9:35 pm

Ok, so until that is solved. What would be the workaround to re-building this package for odroid U3? Should I install an older gcc?
v01d
 
Posts: 8
Joined: Mon Jul 19, 2010 4:22 pm

Re: cannot build linux-odroid-u2

Postby moonman » Fri Aug 14, 2015 12:01 am

These 2 patches will let you compile the kernel but you need to disable wireless drivers for 8192cu and 8812au. I haven't had time to see what needs patched yet.
Attachments
0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
(1.75 KiB) Downloaded 541 times
add-gcc5-support.patch
(3.37 KiB) Downloaded 376 times
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: cannot build linux-odroid-u2

Postby v01d » Sat Aug 15, 2015 2:31 am

Thank you. With these patches and not only disabling the aforementioned modules but also the 8712 driver, I was able to build.
If there's interest I can make a pull request with these changes.
The modules could probably be re-enabled by fixing the problems with extern inline function definitions (see https://gcc.gnu.org/gcc-5/porting_to.html ), however it is more that I can do at the moment.
v01d
 
Posts: 8
Joined: Mon Jul 19, 2010 4:22 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests