Re: Help fixing clang 3.4

2014-02-21 Thread Steve Kargl
On Thu, Feb 20, 2014 at 07:43:54AM +0100, Antoine Brodin wrote:
 On Thu, Feb 20, 2014 at 2:19 AM, Steve Kargl
 s...@troutmask.apl.washington.edu wrote:
  Can someone point to where I disable clang from
  issuing an error and aborting on an unknown option?
 
  % cd /usr/ports/databases/py-sqlite3
  % make
 
  cc ... -R/usr/local/lib -lsqlite3 -o 
  build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sqlite3.so
  cc: error: unknown argument: '-R/usr/local/lib'
  error: command 'cc' failed with exit status 1
  *** Error code 1
 
 You can try this
 http://docs.freebsd.org/cgi/mid.cgi?CAALwa8m9-dpiO4fpA_BG-QeZyo9wsRpDVXHz_CTNUYeFLK7GVA
 

Thanks.  That appears to have fixed that particular.

-- 
Steve
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Help fixing clang 3.4

2014-02-19 Thread hiren panchasara
On Wed, Feb 19, 2014 at 5:19 PM, Steve Kargl
s...@troutmask.apl.washington.edu wrote:
 Can someone point to where I disable clang from
 issuing an error and aborting on an unknown option?

 % cd /usr/ports/databases/py-sqlite3
 % make

 cc -shared -O2 -pipe -march=opteron -fno-strict-aliasing 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cache.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/connection.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cursor.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/microprotocols.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/module.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/row.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/statement.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/util.o -L/usr/local/lib 
 -R/usr/local/lib -lsqlite3 -o 
 build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sqlite3.so
 cc: error: unknown argument: '-R/usr/local/lib'

I do not know the answer but I see it being discussed here:
http://lists.freebsd.org/pipermail/freebsd-toolchain/2014-January/001103.html

cheers,
Hiren
 error: command 'cc' failed with exit status 1
 *** Error code 1

 --
 Steve
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Help fixing clang 3.4

2014-02-19 Thread Steve Kargl
On Wed, Feb 19, 2014 at 06:24:07PM -0800, hiren panchasara wrote:
 On Wed, Feb 19, 2014 at 5:19 PM, Steve Kargl
 s...@troutmask.apl.washington.edu wrote:
  Can someone point to where I disable clang from
  issuing an error and aborting on an unknown option?
 
  % cd /usr/ports/databases/py-sqlite3
  % make
 
  cc ... -R/usr/local/lib -lsqlite3 -o 
  build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sqlite3.so
  cc: error: unknown argument: '-R/usr/local/lib'
 
 I do not know the answer but I see it being discussed here:
 http://lists.freebsd.org/pipermail/freebsd-toolchain/2014-January/001103.html
 

Sigh, I forgot about that discussion.  Nothing like getting
caught by the libc++ ABI breakage and unbreakage, which is
requiring a recompile of everything linked to libc++, only 
to be foiled by the impossibility of actually doing the recompile.  
Guess I'll chalk it up to The Joys of Current(tm).

-- 
Steve
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Help fixing clang 3.4

2014-02-19 Thread Antoine Brodin
On Thu, Feb 20, 2014 at 2:19 AM, Steve Kargl
s...@troutmask.apl.washington.edu wrote:
 Can someone point to where I disable clang from
 issuing an error and aborting on an unknown option?

 % cd /usr/ports/databases/py-sqlite3
 % make

 cc -shared -O2 -pipe -march=opteron -fno-strict-aliasing 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cache.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/connection.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cursor.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/microprotocols.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/module.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/row.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/statement.o 
 build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/util.o -L/usr/local/lib 
 -R/usr/local/lib -lsqlite3 -o 
 build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sqlite3.so
 cc: error: unknown argument: '-R/usr/local/lib'
 error: command 'cc' failed with exit status 1
 *** Error code 1

Hi,

You can try this
http://docs.freebsd.org/cgi/mid.cgi?CAALwa8m9-dpiO4fpA_BG-QeZyo9wsRpDVXHz_CTNUYeFLK7GVA

Cheers,

Antoine
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org