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

trouble building a stand alone toolchian #502

Closed
Char-Aznable opened this issue Apr 19, 2019 · 5 comments
Closed

trouble building a stand alone toolchian #502

Char-Aznable opened this issue Apr 19, 2019 · 5 comments
Milestone

Comments

@Char-Aznable
Copy link

I'm new to easybuild. I'm trying to build eb foss-2019a.eb --robot right after installing easybuild. However, I hit easybuilders/easybuild-easyblocks#1350 where I'm stuck. If I understand it correctly, the tools in foss-2019a built by easybuild depends on the libraries provided by the OS -- is this the case? If not, what is the way to build a stand alone toolchain, including gcc, binutils, glibc, ...?

@akesandgren
Copy link
Contributor

Exactly what do you mean by getting stuck?

The above (#1350) is not a problem, it's the way things are supposed to be.

EB builds a small set of packages that depends on the system compiler and libraries, which are then used to build the GCCcore compiler, the rest does not depend on system libraries
(Well libc is not built by EB)

@boegel
Copy link
Member

boegel commented Apr 20, 2019

@Char-Aznable Can you clarify which problem/errors you are hitting exactly?

@boegel boegel added this to the 3.x milestone Apr 20, 2019
@Char-Aznable
Copy link
Author

I got the error when building foss-2019a:

build failed (first 300 chars): zlib is not statically linked in /home/aznb/easybuild/software/binutils/2.31.1-GCCcore-8.2.0/bin/addr2line

@akesandgren
Copy link
Contributor

Can you upload the complete build log somewhere?
And just building binutils-2.31.1-GCCcore-8.2.0.eb should be enough to show the problem.

@boegel boegel modified the milestones: 3.x, 4.x Sep 20, 2019
@boegel
Copy link
Member

boegel commented Sep 20, 2019

@Char-Aznable easybuilders/easybuild-easyblocks#1350 was fixed last May (in EasyBuild v3.9.1).

Please try again with a more recent version of EasyBuild. If the problem persists, please let us know

@boegel boegel closed this as completed Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants