Subject: pkg/33181: www/firefox fails to build on -current/amd64
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/02/2006 12:45:01
>Number:         33181
>Category:       pkg
>Synopsis:       www/firefox fails to build on -current/amd64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 02 12:45:01 +0000 2006
>Release:        NetBSD 3.99.17
System: NetBSD 3.99.17 NetBSD 3.99.17 (ATLAS) #2: Tue Mar 21 19:50:15 CET 2006 amd64
Architecture: x86_64
Machine: amd64
        Firefox fails to build, failing with a linker error. See

	for a full build log. 
	Try and build firefox on a recent current
	Unknown. This bears a more than striking resemblance to pkg/32987, 
where glib2 failed with a similiar error. In that case, a mis-matched 
scope definition was to blame - amd64's linker is more strict in this than

       I gave it a shot to locate the problem myself, but failed. The offending
call is made from inline assembly to an 'extern "C"' function defined just
above; commenting the call makes the linker happy (but is obviously not the
solution). My knowledge about gcc and C/inline assembly integration is just
not good enough to solve the problem :(