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

gcc: don't use unmaintained binutils #23595

Merged
merged 6 commits into from
May 3, 2024

Conversation

ericLemanissier
Copy link
Contributor

@ericLemanissier ericLemanissier commented Apr 17, 2024

Specify library name and version: gcc/*

also fix conflicts:

  • mpc/1.2.0->gmp/6.3.0, gcc/12.2.0->gmp/6.2.1.
  • mpc/1.2.0->mpfr/4.2.0, gcc/12.2.0->mpfr/4.1.0.

Copy link
Contributor

🤖 Beep Boop! This pull request is making changes to 'recipes/gcc//'.

👋 @samuel-emrys you might be interested. 😉

@ghost
Copy link

ghost commented Apr 17, 2024

I detected other pull requests that are modifying gcc/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@ericLemanissier
Copy link
Contributor Author

Currently facing this error, which I don't understand:

configure:8461: checking for isl 0.15 or later
configure:8474: gcc -o conftest  -m64 -O3 -I/home/codespace/.conan2/p/isl1b7a4dbb218de/p/include -I/home/codespace/.conan2/p/gmpaf0a08db6b31b/p/include -I/home/codespace/.conan2/p/mpfrd7037f1fbaff4/p/include -I/home/codespace/.conan2/p/mpcdb79c50406ee6/p/include   -DNDEBUG  -m64 -L/home/codespace/.conan2/p/isl1b7a4dbb218de/p/lib -lisl -L/home/codespace/.conan2/p/gmpaf0a08db6b31b/p/lib -L/home/codespace/.conan2/p/mpfrd7037f1fbaff4/p/lib -L/home/codespace/.conan2/p/mpcdb79c50406ee6/p/lib -lmpc -lmpfr -lgmp conftest.c  -lisl -lgmp >&5
/home/codespace/.conan2/p/binutee68656a3275b/p/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld: /home/codespace/.conan2/p/isl1b7a4dbb218de/p/lib/libisl.a(isl_options.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/home/codespace/.conan2/p/binutee68656a3275b/p/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status

the error was:
configure:8461: checking for isl 0.15 or later
configure:8474: gcc -o conftest  -m64 -O3 -I/home/codespace/.conan2/p/isl1b7a4dbb218de/p/include -I/home/codespace/.conan2/p/gmpaf0a08db6b31b/p/include -I/home/codespace/.conan2/p/mpfrd7037f1fbaff4/p/include -I/home/codespace/.conan2/p/mpcdb79c50406ee6/p/include   -DNDEBUG  -m64 -L/home/codespace/.conan2/p/isl1b7a4dbb218de/p/lib -lisl -L/home/codespace/.conan2/p/gmpaf0a08db6b31b/p/lib -L/home/codespace/.conan2/p/mpfrd7037f1fbaff4/p/lib -L/home/codespace/.conan2/p/mpcdb79c50406ee6/p/lib -lmpc -lmpfr -lgmp conftest.c  -lisl -lgmp >&5
/home/codespace/.conan2/p/binutee68656a3275b/p/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld: /home/codespace/.conan2/p/isl1b7a4dbb218de/p/lib/libisl.a(isl_options.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/home/codespace/.conan2/p/binutee68656a3275b/p/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
@conan-center-bot

This comment has been minimized.

@ericLemanissier
Copy link
Contributor Author

@uilianries I'm sorry to ask again, but can you please retrigger this PR too ?

@ericLemanissier
Copy link
Contributor Author

@RubenRBS Is it possible to get a new build ? thanks!

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit f97aa70
gcc/10.2.0@#359277492830cf80bc7163969330514c
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Running objdump on './lib/libgcc_s.so' failed. Is the environment variable OBJDUMP correctly configured?

@conan-center-bot

This comment has been minimized.

@ericLemanissier

This comment was marked as outdated.

@AndreyMlashkin
Copy link
Contributor

Maybe delte cpp standard flag for this recipe? I think, that would make sense, if it's the only possible value of the flag to be built with

@ericLemanissier
Copy link
Contributor Author

The build is now finished. You can take a look at the results here

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 67e7f9a
gcc/10.2.0@#f2af44eaca630cf062a6771956d63612
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Running objdump on './lib/libgcc_s.so' failed. Is the environment variable OBJDUMP correctly configured?

@AndreyMlashkin
Copy link
Contributor

AndreyMlashkin commented Apr 24, 2024

Does anyone know, why gcc mirror on github contains different binaries?...
https://github.com/gcc-mirror/gcc/tree/releases/

@ericLemanissier

This comment was marked as resolved.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 8 (67e7f9a0445f16876a474d9c2b4387e3e814cf93):

  • gcc/12.2.0:
    All packages built successfully! (All logs)

  • gcc/11.3.0:
    All packages built successfully! (All logs)

  • gcc/10.2.0:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 8 (67e7f9a0445f16876a474d9c2b4387e3e814cf93):

  • gcc/12.2.0:
    All packages built successfully! (All logs)

  • gcc/10.2.0:
    All packages built successfully! (All logs)

  • gcc/11.3.0:
    All packages built successfully! (All logs)

Copy link
Contributor

Hooks produced the following warnings for commit 67e7f9a
gcc/12.2.0@#17348354eccb83bcd29fcc94a80ee90b
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/12.2.0/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/12.2.0/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/12.2.0/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/12.2.0/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Running objdump on './lib/libgcc_s.so' failed. Is the environment variable OBJDUMP correctly configured?
gcc/11.3.0@#744e287461472bca8943ced56cbbb059
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/11.3.0/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/11.3.0/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/11.3.0/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/11.3.0/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Running objdump on './lib/libgcc_s.so' failed. Is the environment variable OBJDUMP correctly configured?
gcc/10.2.0@#f2af44eaca630cf062a6771956d63612
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './include/c++/10.2.0/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Running objdump on './lib/libgcc_s.so' failed. Is the environment variable OBJDUMP correctly configured?

@AndreyMlashkin
Copy link
Contributor

@uilianries @jwillikers @SSE4 please review

@ericLemanissier
Copy link
Contributor Author

@RubenRBS @jcar87 is it possible to get a review ?

@conan-center-bot conan-center-bot merged commit 469510f into conan-io:master May 3, 2024
23 checks passed
@ericLemanissier ericLemanissier deleted the patch-5 branch May 3, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants