Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildsystem: update to gcc (to 7.2), glibc and binutils #1664

Merged
merged 27 commits into from
Aug 21, 2017

Conversation

InuSasha
Copy link
Member

@InuSasha InuSasha commented May 30, 2017

This is a WIP. Not all packages/addons are building, actual.

I believe, same commit are not related to the gcc7 change. But i had no time to confirm.
Feel free to cherry-pick ;)

packages and logs under https://dl.inusasha.de/libreelec/dev/gcc7/

Not building addons in PR:
none

Not building packages in PR & Master:
kodi (imx6)
alsa-lib (imx6)
qemu (Generic)

Not building addons in PR & Master:
adsp.biquad.filters
audiodecoder.asap
audiodecoder.upse
audiodecoder.usf
audiodecoder.wsr
game.libretro
game.libretro.mame2010
game.libretro.mame2014
game.libretro.mupen64plus
hyperion
peripheral.steamcontroller
peripheral.xarcade
pvr.octonet
screensaver.asteroids
screensaver.asterwave
screensaver.biogenesis
screensaver.cpblobs
screensaver.greynetic
screensaver.matrixtrails
screensaver.pingpong
screensaver.pyro
screensaver.shadertoy
screensavers.rsxs
screensaver.stars
visualization.vsxu
visualization.wavforhue

@chewitt
Copy link
Member

chewitt commented May 30, 2017

@InuSasha binary add-ons are a bit messy at the moment after changes from allwinus. The core changes are merged (which breaks things) and now the next phase of work (fixing the stuff that broke) will be done. It's probably not worth trying to build add-ons for a couple of weeks while things are sorted out :)

@@ -29,6 +29,7 @@ PKG_SECTION="service/system"
PKG_SHORTDESC="Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere."
PKG_LONGDESC="Docker containers can encapsulate any payload, and will run consistently on and between virtually any server. The same container that a developer builds and tests on a laptop will run at scale, in production*, on VMs, bare-metal servers, OpenStack clusters, public instances, or combinations of the above."
PKG_AUTORECONF="no"
PKG_SOURCE_DIR="moby-$PKG_VERSION"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this commit wasn't meant for this PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@escalade: you are right. i found it, while i upgrade to gcc7. actual, i had no time to split it into single branches.

@InuSasha
Copy link
Member Author

InuSasha commented Jun 3, 2017

  • update List of failing packages/addons
  • upload new build artifacts

@InuSasha
Copy link
Member Author

only rebase against master

@InuSasha InuSasha force-pushed the feature/gcc7 branch 3 times, most recently from 0c5fb62 to 3768eef Compare June 27, 2017 19:09
@InuSasha
Copy link
Member Author

InuSasha commented Jun 30, 2017

actual state: all archs builds/fails like master (incl.addons) qemu is not building. maybe glib update depending
but no runtime tests, yet
needs #1730

@lrusak
Copy link
Member

lrusak commented Aug 3, 2017

@InuSasha care to rebase and update to the latest gcc? I need this to be able to update to glibc 2.26. If you don't have time just let me know 👍

@InuSasha
Copy link
Member Author

InuSasha commented Aug 3, 2017

@lrusak i can rebase this. but no runtime tests was made, jet.
Because the open problem is chromium... it does not build with gcc7 and the version upgrade su... is stalled (#1730).

@zalaare
Copy link
Contributor

zalaare commented Aug 3, 2017

@lrusak If you don't want to wait, I was able to build gcc against libc 2.26 this morning (different project) using the upstreamed patch: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=b685411208e0aaa79190d54faf945763514706b8

@InuSasha
Copy link
Member Author

InuSasha commented Aug 3, 2017

@lrusak i make a comparison build against master. if the had equal stability i update this pr. if not i will report ;)
i also will drop chromium patches and will pr a wip after merge.

@lrusak lrusak mentioned this pull request Aug 4, 2017
@InuSasha InuSasha force-pushed the feature/gcc7 branch 2 times, most recently from 909bc4e to 33360a9 Compare August 4, 2017 21:08
@InuSasha
Copy link
Member Author

InuSasha commented Aug 4, 2017

rebased.
all images are building (except imx6 like master ;) )
addons mostly build (no difference to master)
chromium changes removed
ping @lrusak

@InuSasha InuSasha mentioned this pull request Aug 4, 2017
@InuSasha InuSasha force-pushed the feature/gcc7 branch 2 times, most recently from 71d6d1a to 2d09a03 Compare August 8, 2017 16:54
@InuSasha InuSasha changed the title buildsystem: update to gcc7 buildsystem: update to gcc (to 7.2), glibc and binutils Aug 8, 2017
@InuSasha
Copy link
Member Author

InuSasha commented Aug 8, 2017

@InuSasha
Copy link
Member Author

InuSasha commented Aug 9, 2017

  • update to gcc 7.2 rc.2
  • drop kodi gcc7 patch
  • rebase to master

@InuSasha
Copy link
Member Author

7.2 final was released.
after work, i will update pr.
additional over night & tomorrow, a full build of all archs (except imx6) and all addons.

@CvH
Copy link
Member

CvH commented Aug 14, 2017

@InuSasha about that vdr-plugin-live: gcc7 fixes commit
maybe a better fix jasmin-j/vdr-plugin-live@b865600

and change to download url from homepage (newer version then sourceforge)
switch to github source
- no-man: solves a problem with help2man and "diff3 --help" in cross-compile
@InuSasha
Copy link
Member Author

  • rebase to origin/master
  • add glib glib: update to 2.53.5 #1874
  • replace vdr-plugin-live with better patch
  • gcc 7.2 final (switch from tar.bz2 to tar.xz)

shebang length is limited in the kernel by BINPRM_BUF_SIZE, set in include/linux/binfmts.h
solution found by @MilhouseVH
@InuSasha
Copy link
Member Author

@MilhouseVH added your fix. additional add --with-python=python to target. there are long shebangs, too.

@CvH
Copy link
Member

CvH commented Aug 17, 2017

@InuSasha you could drop those vdr-satip patch and instead just update the plugin version to ee88aad (fix got added upstream at the 2.2.x branch we use)

@InuSasha
Copy link
Member Author

suggestion from @CvH added

should ready to merge, now
only chromium is not building, yet.

@MilhouseVH MilhouseVH merged commit 783aebc into LibreELEC:master Aug 21, 2017
@InuSasha InuSasha deleted the feature/gcc7 branch September 26, 2017 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants