[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

--- Comment #12 from Rob Belics  ---
If it helps. I'm building it from ports and found it only in
/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/x86_64-unknown-freebsd/release
and not on my system.

Running 'file' on it returns "current ar archive"

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Dimitry Andric  changed:

   What|Removed |Added

 CC||d...@freebsd.org

--- Comment #11 from Dimitry Andric  ---
(In reply to Kurt Jaeger from comment #9)
> Reproduced the problem in poudriere, see
> 
> http://people.freebsd.org/~pi/logs/firefox-56.0_1,1.log

Can you figure out the location of the bad libgkrust.a file, and run file(1) on
it?  If it says "thin archive", that will be the cause for the failure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

da...@catwhisker.org changed:

   What|Removed |Added

 CC||da...@catwhisker.org

--- Comment #10 from da...@catwhisker.org ---
While I have not encountered the issue, some of the other comments reminded me
of bug #220481 (where the ar(1) that was invoked by the gcc5 toolchain is the
one found in the execution search path -- not necessarily the one that was part
of the gcc5 toolchain).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Kurt Jaeger  changed:

   What|Removed |Added

 CC||p...@freebsd.org

--- Comment #9 from Kurt Jaeger  ---
Reproduced the problem in poudriere, see

http://people.freebsd.org/~pi/logs/firefox-56.0_1,1.log

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

--- Comment #8 from Konstantin Belousov  ---
(In reply to Jan Beich from comment #7)
There are a lot of clues in the reports.  I am almost sure, that the error
message comes out because in-tree ld(1) does not know about some relocation
type used by some object file included into libgkrust.a.  When people install
the binutils from ports and set a knob to force use /usr/local/bin/ld, the
build finishes successfully because new ld understands this relocation.

The solution would be to force use binutils port ld(1) for linking.

libgkrust.a is produced by the rust compiler, unless I am wrong.  It probably
triggers some code generation paths in llvm backend which caused to issue
unusual relocations, which typically not created by clang.  So the C
compilation is not affected and do not trip old linker in base.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

pmiloti...@gmail.com changed:

   What|Removed |Added

 CC||pmiloti...@gmail.com

--- Comment #6 from pmiloti...@gmail.com ---
I also experienced this:

x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format
not recognized

But setting this environment fixed it:

export COMPILER_PATH=/usr/local/bin

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

--- Comment #5 from Rob Belics  ---
Yes, I forgot FreeBSD version is 11.1. Port options are the defaults.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

--- Comment #4 from Rob Belics  ---
Created attachment 186783
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186783=edit
pkg query output

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Tod McQuillin  changed:

   What|Removed |Added

 CC||de...@spamcop.net

--- Comment #3 from Tod McQuillin  ---
I'm seeinx86_64-unknown-freebsd/release/libgkrust.a: could not read symbols:
File format not recognized

c++: error: linker command failed with exit code 1 (use -v to see invocation)
g the same failure on 11.1-STABLE with firefox-56.0

FreeBSD sodalime.pun-pun.prv 11.1-STABLE FreeBSD 11.1-STABLE #20 r322604: Thu
Aug 17 18:47:07 JST 2017
de...@sodalime.pun-pun.prv:/usr/obj/usr/src/sys/SODALIME  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Rainer Hurling  changed:

   What|Removed |Added

 CC||rhur...@gwdg.de

--- Comment #2 from Rainer Hurling  ---
(In reply to Jan Beich from comment #1)
Hi Jan,

I had the same problem on recent HEAD like Rob described, and can confirm, that 

  $ pkg install binutils
  $ export COMPILER_PATH=/usr/local/bin

solves the problem. Obviously, there is a problem with compiler versions?

Thanks for your hint.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Jan Beich  changed:

   What|Removed |Added

  Flags|maintainer-feedback?(gecko@ |maintainer-feedback+
   |FreeBSD.org)|

--- Comment #1 from Jan Beich  ---
> x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File 
> format not recognized

What FreeBSD version? Can you list selected port options? Can you show output
for pkg query '%o: %v'? If ld.bfd is too old try the following:

  $ pkg install binutils
  $ export COMPILER_PATH=/usr/local/bin

FWIW, pkg-fallout@ didn't complain:

http://beefy5.nyi.freebsd.org/data/103i386-default/450797/logs/firefox-56.0,1.log
http://beefy6.nyi.freebsd.org/data/103amd64-default/450797/logs/firefox-56.0,1.log
http://beefy10.nyi.freebsd.org/data/110i386-default/450797/logs/firefox-56.0,1.log
http://beefy9.nyi.freebsd.org/data/110amd64-default/450797/logs/firefox-56.0,1.log

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


[Bug 222641] www/firefox libgkrust.a: could not read symbols

2017-09-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

Bug ID: 222641
   Summary: www/firefox libgkrust.a: could not read symbols
   Product: Ports & Packages
   Version: Latest
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: ge...@freebsd.org
  Reporter: robbel...@gmail.com
  Assignee: ge...@freebsd.org
 Flags: maintainer-feedback?(ge...@freebsd.org)

INPUT("../../media/psshparser/Unified_cpp_media_psshparser0.o")
INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format
not recognized
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[7]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/rules.mk:719:
libxul.so] Error 1
gmake[7]: Leaving directory
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1/toolkit/library'
gmake[6]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/recurse.mk:73:
toolkit/library/target] Error 2
gmake[6]: Leaving directory
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[5]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/recurse.mk:33:
compile] Error 2
gmake[5]: Leaving directory
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[4]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/rules.mk:453:
default] Error 2
gmake[4]: Leaving directory
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[3]: *** [/usr/ports/www/firefox/work/firefox-56.0/client.mk:419:
realbuild] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-56.0'
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-56.0/client.mk:170: build]
Error 2
gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-56.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"