Bug#932847: libbinutils: Can no longer link to Qt provided amd64 libraries - "error adding symbols: bad value"

2019-07-26 Thread Pierre
On Friday, July 26, 2019 3:00:40 PM CEST Matthias Klose wrote:
> On 25.07.19 23:36, Pierre wrote:
> > On Thursday, July 25, 2019 11:19:37 PM CEST you wrote:
> >> Control: tags -1 + moreinfo
> >> 
> >> On 23.07.19 22:35, Pierre Ducroquet wrote:
> >>> Package: libbinutils
> >>> Version: 2.32.51.20190707-1
> >>> Severity: important
> >>> 
> >>> Dear Maintainer,
> >>> 
> >>> After upgrading from 2.31.1-16 to 2.32.51.20190707-1, linking to Qt-
> > 
> > provided QtWebEngine fails with the following error:
>  g++- -Wl,-rpath,/home/snoopy/Qt/5.12.3/gcc_64/lib
>  -Wl,-rpath-link,/home/snoopy/Qt/5.12.3/gcc_64/lib  -o my-app *.o
>  -L/usr/lib/ -l:libstlink.so.1 -lusb-1.0
>  -L/home/snoopy/Qt/5.12.3/gcc_64/lib -lQt5QuickControls2 -lQt5WebEngine
>  -lQt5WebEngineCore -lQt5Quick -lQt5Gui -lQt5WebChannel -lQt5Qml
>  -lQt5Network -lQt5Positioning -lQt5Test -lQt5Sql -lQt5SerialPort
>  -lQt5Core -lGL -lpthread>
> >>> 
> >>> /usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so:
> >>> error adding symbols: bad value
> >> 
> >> please could you provide the object files used for that link, or tell me
> >> which package you are trying to build?
> > 
> > Hello
> > 
> > The whole procedure to reproduce is as follow (with the Qt-provided
> > 'official'
> > 5.12.3 amd64 build from www.qt.io installed in ~/Qt/5.12.3):
> ok, so this is not seen with any Debian package?  In this case, please
> provide *all* object files and libraries needed for the link.

Hi

I've built a small archive with all the files needed. Sorry it's still a bit 
heavy after compression, but it's WebEngine…
http://host.pinaraf.info/~pinaraf/demo-link-fail.tar.xz
I've included a fail-link.sh demo script that shows the problem.

Regards

 Pierre


signature.asc
Description: This is a digitally signed message part.


Bug#932847: libbinutils: Can no longer link to Qt provided amd64 libraries - "error adding symbols: bad value"

2019-07-26 Thread Matthias Klose
On 25.07.19 23:36, Pierre wrote:
> On Thursday, July 25, 2019 11:19:37 PM CEST you wrote:
>> Control: tags -1 + moreinfo
>>
>> On 23.07.19 22:35, Pierre Ducroquet wrote:
>>> Package: libbinutils
>>> Version: 2.32.51.20190707-1
>>> Severity: important
>>>
>>> Dear Maintainer,
>>>
>>> After upgrading from 2.31.1-16 to 2.32.51.20190707-1, linking to Qt-
> provided QtWebEngine fails with the following error:
 g++- -Wl,-rpath,/home/snoopy/Qt/5.12.3/gcc_64/lib
 -Wl,-rpath-link,/home/snoopy/Qt/5.12.3/gcc_64/lib  -o my-app *.o
 -L/usr/lib/ -l:libstlink.so.1 -lusb-1.0
 -L/home/snoopy/Qt/5.12.3/gcc_64/lib -lQt5QuickControls2 -lQt5WebEngine
 -lQt5WebEngineCore -lQt5Quick -lQt5Gui -lQt5WebChannel -lQt5Qml
 -lQt5Network -lQt5Positioning -lQt5Test -lQt5Sql -lQt5SerialPort
 -lQt5Core -lGL -lpthread> 
>>> /usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so:
>>> error adding symbols: bad value
>> please could you provide the object files used for that link, or tell me
>> which package you are trying to build?
> 
> Hello
> 
> The whole procedure to reproduce is as follow (with the Qt-provided 
> 'official' 
> 5.12.3 amd64 build from www.qt.io installed in ~/Qt/5.12.3):

ok, so this is not seen with any Debian package?  In this case, please provide
*all* object files and libraries needed for the link.



Bug#932847: libbinutils: Can no longer link to Qt provided amd64 libraries - "error adding symbols: bad value"

2019-07-25 Thread Pierre
On Thursday, July 25, 2019 11:19:37 PM CEST you wrote:
> Control: tags -1 + moreinfo
> 
> On 23.07.19 22:35, Pierre Ducroquet wrote:
> > Package: libbinutils
> > Version: 2.32.51.20190707-1
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > After upgrading from 2.31.1-16 to 2.32.51.20190707-1, linking to Qt-
provided QtWebEngine fails with the following error:
> >> g++- -Wl,-rpath,/home/snoopy/Qt/5.12.3/gcc_64/lib
> >> -Wl,-rpath-link,/home/snoopy/Qt/5.12.3/gcc_64/lib  -o my-app *.o
> >> -L/usr/lib/ -l:libstlink.so.1 -lusb-1.0
> >> -L/home/snoopy/Qt/5.12.3/gcc_64/lib -lQt5QuickControls2 -lQt5WebEngine
> >> -lQt5WebEngineCore -lQt5Quick -lQt5Gui -lQt5WebChannel -lQt5Qml
> >> -lQt5Network -lQt5Positioning -lQt5Test -lQt5Sql -lQt5SerialPort
> >> -lQt5Core -lGL -lpthread> 
> > /usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so:
> > error adding symbols: bad value
> please could you provide the object files used for that link, or tell me
> which package you are trying to build?

Hello

The whole procedure to reproduce is as follow (with the Qt-provided 'official' 
5.12.3 amd64 build from www.qt.io installed in ~/Qt/5.12.3):

$ mkdir /tmp/hello-crash
$ cd /tmp/hello-crash
$ echo "int main (int, char**) { return 0; }" > main.cpp
$ ~/Qt/5.12.3/gcc_64/bin/qmake -project
$ echo "QT += webengine" >> hello-crash.pro 
$ mkdir build
$ cd build
$ ~/Qt/5.12.3/gcc_64/bin/qmake ..
Info: creating stash file /tmp/hello-crash/build/.qmake.stash
$ make -j 8
…
/usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so: error 
adding symbols: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:249: hello-crash] Error 1

Regards

 Pierre


signature.asc
Description: This is a digitally signed message part.


Bug#932847: libbinutils: Can no longer link to Qt provided amd64 libraries - "error adding symbols: bad value"

2019-07-25 Thread Matthias Klose
Control: tags -1 + moreinfo

On 23.07.19 22:35, Pierre Ducroquet wrote:
> Package: libbinutils
> Version: 2.32.51.20190707-1
> Severity: important
> 
> Dear Maintainer,
> 
> After upgrading from 2.31.1-16 to 2.32.51.20190707-1, linking to Qt-provided 
> QtWebEngine fails with the following error:
>> g++- -Wl,-rpath,/home/snoopy/Qt/5.12.3/gcc_64/lib 
>> -Wl,-rpath-link,/home/snoopy/Qt/5.12.3/gcc_64/lib  -o my-app *.o -L/usr/lib/ 
>> -l:libstlink.so.1 -lusb-1.0 -L/home/snoopy/Qt/5.12.3/gcc_64/lib 
>> -lQt5QuickControls2 -lQt5WebEngine -lQt5WebEngineCore -lQt5Quick -lQt5Gui 
>> -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Test -lQt5Sql 
>> -lQt5SerialPort -lQt5Core -lGL -lpthread   
> /usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so: error 
> adding symbols: bad value

please could you provide the object files used for that link, or tell me which
package you are trying to build?



Bug#932847: libbinutils: Can no longer link to Qt provided amd64 libraries - "error adding symbols: bad value"

2019-07-23 Thread Pierre Ducroquet
Package: libbinutils
Version: 2.32.51.20190707-1
Severity: important

Dear Maintainer,

After upgrading from 2.31.1-16 to 2.32.51.20190707-1, linking to Qt-provided 
QtWebEngine fails with the following error:
> g++- -Wl,-rpath,/home/snoopy/Qt/5.12.3/gcc_64/lib 
> -Wl,-rpath-link,/home/snoopy/Qt/5.12.3/gcc_64/lib  -o my-app *.o -L/usr/lib/ 
> -l:libstlink.so.1 -lusb-1.0 -L/home/snoopy/Qt/5.12.3/gcc_64/lib 
> -lQt5QuickControls2 -lQt5WebEngine -lQt5WebEngineCore -lQt5Quick -lQt5Gui 
> -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Test -lQt5Sql 
> -lQt5SerialPort -lQt5Core -lGL -lpthread   
/usr/bin/ld: /home/snoopy/Qt/5.12.3/gcc_64/lib/libQt5WebEngineCore.so: error 
adding symbols: bad value

Downgrading libbinutils and binutils-x86-64-linux-gnu fixed this issue and link 
succeeded again.
Another workaround is to use the gold linker.
Both these solutions are fine workarounds, but I think the real issue needs to 
be adressed.

Regards

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libbinutils depends on:
ii  binutils-common  2.32.51.20190707-1
ii  libc62.28-10
ii  zlib1g   1:1.2.11.dfsg-1

libbinutils recommends no packages.

libbinutils suggests no packages.

-- no debconf information