This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: I've broken my binutils version 2.28


> -----Original Message-----
> From: binutils-owner@sourceware.org [mailto:binutils-owner@sourceware.org] On Behalf Of Matthew Fortune
> Sent: Wednesday, September 13, 2017 5:09 PM
> To: ANDY KENNEDY; 'binutils@sourceware.org'
> Subject: RE: I've broken my binutils version 2.28
>

Again, thanks to Matthew for helping me fix that last problem.

The new problem (as described briefly last night) has multiple variants.

1) I'm getting this message, from within the libc-startfiles/multilib
portion config.log of the build, when attempting to build the full toolchain:

Assembler messages:
Warning: could not set architecture and machine

2) I see this message (which I believe to be a symptom of the real
problem of the above message) in the same config.log:

configure:5711: error: missing __attribute__ ((constructor)) support??

3) The output showing the error from crosstool-ng is below (if you are
interested)

I did do a deep dive of the the differences between xlr, xlp, and
Octeon3 today.  I "fixed" several supposed issues between the builds,
but I'm obviously NOT registering my crap correctly.

Once again, I'm floundering around and beg for your help.

FYI: I have all scripts required to build ctng with the variant I'm
aiming for, and the patches needed to reproduce the problem.  I have
no problem with giving all of that up to get help with the problem.

Thanks in advance for any help you offer,
Andy

Looking through the below, you can see that binutils did build, then when
it was to be used, it barfed all over itself.
Output of crosstool-ng (with debug NOT set):

[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20170913.171614
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 0.05s (at 00:01)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 0.15s (at 00:01)
[INFO ]  =================================================================
[INFO ]  Installing automake for build
[INFO ]  Installing automake for build: done in 2.93s (at 00:04)
[INFO ]  =================================================================
[INFO ]  Installing ncurses for build
[INFO ]  Installing ncurses for build: done in 14.02s (at 00:18)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 36.84s (at 00:55)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 18.88s (at 01:14)
[INFO ]  =================================================================
[INFO ]  Installing MPC for host
[INFO ]  Installing MPC for host: done in 8.73s (at 01:23)
[INFO ]  =================================================================
[INFO ]  Installing expat for host
[INFO ]  Installing expat for host: done in 5.77s (at 01:29)
[INFO ]  =================================================================
[INFO ]  Installing ncurses for host
[INFO ]  Installing ncurses for host: done in 14.71s (at 01:43)
[INFO ]  =================================================================
[INFO ]  Installing libiconv for host
[INFO ]  Installing libiconv for host: done in 0.00s (at 01:43)
[INFO ]  =================================================================
[INFO ]  Installing gettext for host
[INFO ]  Installing gettext for host: done in 0.00s (at 01:43)
[INFO ]  =================================================================
[INFO ]  Installing binutils for host
[INFO ]  Installing binutils for host: done in 48.34s (at 02:32)
[INFO ]  =================================================================
[INFO ]  Installing pass-1 core C gcc compiler
[INFO ]  Installing pass-1 core C gcc compiler: done in 212.30s (at 06:04)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[INFO ]  Installing kernel headers: done in 4.40s (at 06:09)
[INFO ]  =================================================================
[INFO ]  Installing C library headers & start files
[INFO ]    =================================================================
[INFO ]    Building for multilib 1/1: ''
[ERROR]      checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support??
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Building for multilib 1/1: '''
[ERROR]  >>        called in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@338]
[ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc.sh@323]
[ERROR]  >>        called from: CT_IterateMultilibs[scripts/functions@1760]
[ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc.sh@150]
[ERROR]  >>        called from: do_libc_start_files[scripts/build/libc/glibc.sh@112]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@653]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'docs/B - Known issues.txt'
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]   
[ERROR]  (elapsed: 6:10.00)
[06:10] / gmake[1]: *** [build] Error 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]