[Bf-committers] Error in compile with scons (Linking program ==> 'makesdna')

Sergey Sharybin sergey.vfx at gmail.com
Thu Nov 20 11:35:27 CET 2014


That is all correct, symbol mapping file does not depend on LLVM at all.

I've committed the fix, please git pull and report back if you still have
issues.

On Thu, Nov 20, 2014 at 11:02 AM, Jefferson Rausseo <
jeffersonrausseo at gmail.com> wrote:

> I don't use OSL.
>
> In the commit 80d1d624d378d4d8c03fb26ef286baf5479b6497, in linux-config.py
> was
> changed:
> -if WITH_BF_LLVM:
> -
> PLATFORM_LINKFLAGS += ['-Wl,--version-script=source/creator/blender.map']
>
> for:
>
> +PLATFORM_LINKFLAGS += ['-Wl,--version-script=source/creator/blender.map']
>
> Now do not considered if you have installed "llvm" or not
>
> 2014-11-20 5:24 GMT-04:30 Kévin Dietrich <kevin.dietrich at mailoo.org>:
>
> >
> >
> > LLVM is only necessary if you intend to build Cycles with OSL support.
> >
> > Le 2014-11-20 10:44, Jefferson Rausseo a écrit :
> >
> > > gcc 4.8.2
> > > scons 2.3.0
> > >
> > > I can compile correctly only if I remove the last line in
> linux-config.py
> > > I have not installed "llvm", should I have it obligatory install?
> > >
> > > 2014-11-20 4:17 GMT-04:30 Sergey Sharybin <sergey.vfx at gmail.com>:
> > > That sounds weird, because linux buildbot uses scons and never run into
> > this issue. What's your compiler and it's version? P.S. Instead of
> > modifying linux-config.py it's better to do changes in user-config.py On
> > Thu, Nov 20, 2014 at 5:18 AM, Jefferson Rausseo <
> > jeffersonrausseo at gmail.com> wrote: Apparently the error is in the commit
> > 80d1d624d378d4d8c03fb26ef286baf5479b6497, specifically in this file in
> the
> > last line: build_files/scons/config/linux-config.py If we comment the
> last
> > line fixes the problem: # PLATFORM_LINKFLAGS +=
> > ['-Wl,--version-script=source/creator/blender.map'] 2014-11-19 15:23
> > GMT-04:30 Piotr Arlukowicz < piotao at polskikursblendera.pl : Yes, I've
> > sent this very same error just a second ago to that list. I thought that
> > this was my bad and system updates, but no. The same is mine:
> > http://www.pasteall.org/55258 [1] regards Piotr Piotr Polski Kurs
> > Blendera: http://polskikursblendera.pl [2], YT:
> > /user/piotao?feature=guide FB: /polskikursblendera TW: /piotao 2014
> >  -11-19
> > 18:06 GMT+01:00 Jefferson Rausseo <
> >  jeffersonrausseo at gmail.com
> >
> > > : Ubuntu 14.04 with scons Version blender: commit
> > cd54f07a3c71ba146542e41c7b3407b287b52b4c Error in screen: Linking program
> > ==> 'makesdna' /usr/bin/ld: anonymous version tag cannot be combined with
> > other
> >  version
> >
> > >> tags collect2: error: ld returned 1 exit status scons: ***
> > [/home/dani/Programas/blender-git/build/makesdna] Error 1 scons: building
> > terminated because of errors.
> > _______________________________________________ Bf-committers mailing
> list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers [3]
> > > _______________________________________________ Bf-committers mailing
> > list Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers [3]
> >  _______________________________________________ Bf-committers mailing
> > list Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers [3] -- With best
> > regards, Sergey Sharybin _______________________________________________
> > Bf-committers mailing list Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers [3]
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers [3]
> >
> >
> >
> > Links:
> > ------
> > [1] http://www.pasteall.org/55258
> > [2] http://polskikursblendera.pl
> > [3] http://lists.blender.org/mailman/listinfo/bf-committers
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list