Closed eyjian closed 2 weeks ago
binutils-2.31.1 work with many warnings.
`
GNU ld (GNU Binutils) 2.31.1 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. `
partial warnings:
/usr/local/binutils-2.31.1/bin/ld: warning: /data1/go/pkg/mod/github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdf_linux_amd64.a(pool.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 /usr/local/binutils-2.31.1/bin/ld: warning: /data1/go/pkg/mod/github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdf_linux_amd64.a(pool.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001 /usr/local/binutils-2.31.1/bin/ld: warning: /data1/go/pkg/mod/github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdf_linux_amd64.a(stext-search.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 /usr/local/binutils-2.31.1/bin/ld: warning: /data1/go/pkg/mod/github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdf_linux_amd64.a(stext-search.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
binutils-2.28.1 work good no any warning
`
GNU ld (GNU Binutils) 2.28.1 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. `
Such old compilers are not supported, use an external library.
go/pkg/mod/github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdf_linux_amd64.a(colorspace.o): unrecognized relocation (0x2a) in section `.text.fz_find_icc_link'
`
gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ld -version
GNU ld version 2.23.52.0.1-55.el7 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. `