Some anecdotal results from alignment fixes

[email protected] Fri, 9 Jul 2021 20:54:11 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
Hi, all,

The recent alignment fixes have fixed, amongst other things, pkgsrc GNU 
m4 and a spate of segfaults while building many packages. I'm looking 
forward to comparing previous bulk pkgsrc builds to a new build to see the 
changes.

One thing I noticed is that gcc 10.3.0 from pkgsrc gets quite a bit 
further than it had before, but still fails here, which I don't quite 
understand. Can anyone say what's going on here?

Thanks,
John


/usr/pkgsrc/lang/gcc10/work/build/./prev-gcc/xg++ 
-B/usr/pkgsrc/lang/gcc10/work/build/./prev-gcc/ 
-B/usr/local/gcc10/alpha--netbsd/bin/ -nostdinc++ 
-B/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/src/.libs 
-B/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/libsupc++/.libs 
-I/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/include/alpha--netbsd 
-I/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/include 
-I/usr/pkgsrc/lang/gcc10/work/gcc-10.3.0/libstdc++-v3/libsupc++ 
-L/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/src/.libs 
-L/usr/pkgsrc/lang/gcc10/work/build/prev-alpha--netbsd/libstdc++-v3/libsupc++/.libs 
-no-pie   -g -O2 -fno-checking -gtoggle -DIN_GCC     -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-error=format-diag 
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long 
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
-static-libstdc++ -static-libgcc -Wl,-R/usr/local/lib    -o lto1 \
         lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o 
lto/lto-partition.o lto/lto-symtab.o lto/lto-common.o libbackend.a main.o 
libcommon-target.a libcommon.a ../libcpp/libcpp.a 
../libdecnumber/libdecnumber.a 
-L/usr/pkgsrc/lang/gcc10/work/build/./isl/.libs  -lisl 
-L/usr/pkgsrc/lang/gcc10/work/build/./gmp/.libs 
-L/usr/pkgsrc/lang/gcc10/work/build/./mpfr/src/.libs 
-L/usr/pkgsrc/lang/gcc10/work/build/./mpc/src/.libs -lmpc -lmpfr -lgmp 
-rdynamic  -lz  libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a 
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a 
../libdecnumber/libdecnumber.a
/usr/pkgsrc/lang/gcc10/work/build/./prev-gcc/crtend.o:(.init+0x10): 
relocation truncated to fit: ELF_LITERAL against `.text'
tree-switch-conversion.o: in function 
`tree_switch_conversion::switch_conversion::build_constructors()':
(.text+0xb7d4): relocation truncated to fit: ELF_LITERAL against 
`.text.unlikely'
tree-ssa-alias.o: in function `bool 
wi::lts_p<generic_wide_int<fixed_wide_int_storage<128> >, unsigned 
long>(generic_wide_int<fixed_wide_int_storage<128> > const&, unsigned long 
const&) [clone .isra.0]':
(.text+0xa08): relocation truncated to fit: ELF_LITERAL against 
`.text.unlikely'
tree-ssa-alias.o: in function `indirect_ref_may_alias_decl_p(tree_node*, 
tree_node*, poly_int<1u, long>, poly_int<1u, long>, poly_int<1u, long>, 
int, int, tree_node*, tree_node*, poly_int<1u, long>, poly_int<1u, long>, 
poly_int<1u, long>, int, int, bool)':
(.text+0x50a8): relocation truncated to fit: ELF_LITERAL against 
`.text.unlikely'
tree-ssa-alias.o: in function `bool ranges_maybe_overlap_p<poly_int<1u, 
long>, poly_int<1u, long>, poly_int<1u, 
generic_wide_int<fixed_wide_int_storage<128> > >, poly_int<1u, long> 
>(poly_int<1u, long> const&, poly_int<1u, long> const&, poly_int<1u, 
generic_wide_int<fixed_wide_int_storage<128> > > const&, poly_int<1u, 
long> const&)':
(.text._Z22ranges_maybe_overlap_pI8poly_intILj1ElES1_S0_ILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES1_EbRKT_RKT0_RKT1_RKT2_[_Z22ranges_maybe_overlap_pI8poly_intILj1ElES1_S0_ILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES1_EbRKT_RKT0_RKT1_RKT2_]+0xb4): 
relocation truncated to fit: ELF_LITERAL against `.text'
(.text._Z22ranges_maybe_overlap_pI8poly_intILj1ElES1_S0_ILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES1_EbRKT_RKT0_RKT1_RKT2_[_Z22ranges_maybe_overlap_pI8poly_intILj1ElES1_S0_ILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES1_EbRKT_RKT0_RKT1_RKT2_]+0x21c): 
relocation truncated to fit: ELF_LITERAL against `.text'
tree-ssa-alias.o: in function `bool maybe_in_range_p<poly_int<1u, 
generic_wide_int<fixed_wide_int_storage<128> > >, poly_int<1u, long>, 
poly_int<1u, long> >(poly_int<1u, 
generic_wide_int<fixed_wide_int_storage<128> > > const&, poly_int<1u, 
long> const&, poly_int<1u, long> const&)':
(.text._Z16maybe_in_range_pI8poly_intILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES0_ILj1ElES6_EbRKT_RKT0_RKT1_[_Z16maybe_in_range_pI8poly_intILj1E16generic_wide_intI22fixed_wide_int_storageILi128EEEES0_ILj1ElES6_EbRKT_RKT0_RKT1_]+0xa4): 
relocation truncated to fit: ELF_LITERAL against `.text'
tree-ssa-ccp.o: in function `bit_value_binop(tree_code, signop, int, 
generic_wide_int<fixed_wide_int_storage<192> >*, 
generic_wide_int<fixed_wide_int_storage<192> >*, signop, int, 
generic_wide_int<fixed_wide_int_storage<192> > const&, 
generic_wide_int<fixed_wide_int_storage<192> > const&, signop, int, 
generic_wide_int<fixed_wide_int_storage<192> > const&, 
generic_wide_int<fixed_wide_int_storage<192> > const&)':
(.text+0x973c): relocation truncated to fit: ELF_LITERAL against 
`.text.unlikely'
tree-ssa-ccp.o: in function `evaluate_stmt(gimple*)':
(.text+0xcfb4): relocation truncated to fit: ELF_LITERAL against `.text'
(.text+0xd2cc): relocation truncated to fit: ELF_LITERAL against `.text'
tree-ssa-coalesce.o: in function 
`create_coalesce_list_for_region(_var_map*, bitmap_head*)':
(.text+0x2260): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
gmake[3]: *** [../../gcc-10.3.0/gcc/fortran/Make-lang.in:97: f951] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm gcc.pod gfortran.pod
gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc10/work/build/gcc'
gmake[2]: *** [Makefile:4790: all-stage2-gcc] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc10/work/build'
gmake[1]: *** [Makefile:26270: stage2-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc10/work/build'
gmake: *** [Makefile:1006: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gcc10
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc10